@@ -316,7 +316,6 @@ const struct m_sub_options mp_subtitle_sub_opts = {
316316 {"sub-gauss" , OPT_FLOAT (sub_gauss ), M_RANGE (0.0 , 3.0 )},
317317 {"sub-gray" , OPT_BOOL (sub_gray )},
318318 {"sub-ass" , OPT_BOOL (ass_enabled ), .flags = UPDATE_SUB_HARD },
319- {"sub-scale" , OPT_FLOAT (sub_scale ), M_RANGE (0 , 100 )},
320319 {"sub-scale-signs" , OPT_BOOL (sub_scale_signs )},
321320 {"sub-line-spacing" , OPT_FLOAT (sub_line_spacing ), M_RANGE (-1000 , 1000 )},
322321 {"sub-ass-line-spacing" , OPT_REPLACED ("sub-line-spacing" )},
@@ -366,7 +365,6 @@ const struct m_sub_options mp_subtitle_sub_opts = {
366365 .sub_scale_with_window = true,
367366 .ass_prune_delay = -1.0 ,
368367 .teletext_page = 0 ,
369- .sub_scale = 1 ,
370368 .ass_vsfilter_color_compat = 1 ,
371369 .ass_use_video_data = 2 ,
372370 .ass_video_aspect = 0 ,
@@ -385,6 +383,8 @@ const struct m_sub_options mp_subtitle_shared_sub_opts = {
385383 {"secondary-sub-delay" , OPT_DOUBLE (sub_delay [1 ])},
386384 {"sub-pos" , OPT_FLOAT (sub_pos [0 ]), M_RANGE (0.0 , 150.0 )},
387385 {"secondary-sub-pos" , OPT_FLOAT (sub_pos [1 ]), M_RANGE (0.0 , 150.0 )},
386+ {"sub-scale" , OPT_FLOAT (sub_scale [0 ]), M_RANGE (0 , 100 )},
387+ {"secondary-sub-scale" , OPT_FLOAT (sub_scale [1 ]), M_RANGE (0 , 100 )},
388388 {"sub-visibility" , OPT_BOOL (sub_visibility [0 ])},
389389 {"secondary-sub-visibility" , OPT_BOOL (sub_visibility [1 ])},
390390 {"sub-ass-override" , OPT_CHOICE (ass_style_override [0 ],
@@ -408,6 +408,8 @@ const struct m_sub_options mp_subtitle_shared_sub_opts = {
408408 .sub_visibility [0 ] = true,
409409 .sub_visibility [1 ] = true,
410410 .sub_pos [0 ] = 100 ,
411+ .sub_scale [0 ] = 1 ,
412+ .sub_scale [1 ] = 1 ,
411413 .ass_style_override [0 ] = ASS_STYLE_OVERRIDE_SCALE ,
412414 .ass_style_override [1 ] = ASS_STYLE_OVERRIDE_STRIP ,
413415 },
@@ -1190,6 +1192,7 @@ static const struct MPOpts mp_default_opts = {
11901192 "secondary-sid" ,
11911193 "secondary-sub-delay" ,
11921194 "secondary-sub-pos" ,
1195+ "secondary-sub-scale" ,
11931196 "secondary-sub-ass-override" ,
11941197 "secondary-sub-visibility" ,
11951198 "ab-loop-a" ,
0 commit comments