mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Revert "sub: add auto option to --sub-fix-timing"
This reverts commit b47a58516a.
This commit is contained in:
committed by
Dudemanguy
parent
6f83529f21
commit
f5690e3c97
@@ -267,8 +267,7 @@ const struct m_sub_options mp_subtitle_sub_opts = {
|
||||
{"stretch-dvd-subs", OPT_BOOL(stretch_dvd_subs)},
|
||||
{"stretch-image-subs-to-screen", OPT_BOOL(stretch_image_subs)},
|
||||
{"image-subs-video-resolution", OPT_BOOL(image_subs_video_res)},
|
||||
{"sub-fix-timing", OPT_CHOICE(sub_fix_timing,
|
||||
{"auto", -1}, {"no", 0}, {"yes", 1})},
|
||||
{"sub-fix-timing", OPT_BOOL(sub_fix_timing)},
|
||||
{"sub-pos", OPT_FLOAT(sub_pos), M_RANGE(0.0, 150.0)},
|
||||
{"sub-gauss", OPT_FLOAT(sub_gauss), M_RANGE(0.0, 3.0)},
|
||||
{"sub-gray", OPT_BOOL(sub_gray)},
|
||||
@@ -307,7 +306,6 @@ const struct m_sub_options mp_subtitle_sub_opts = {
|
||||
.defaults = &(OPT_BASE_STRUCT){
|
||||
.sub_visibility = true,
|
||||
.sec_sub_visibility = true,
|
||||
.sub_fix_timing = -1,
|
||||
.sub_pos = 100,
|
||||
.sub_speed = 1.0,
|
||||
.ass_enabled = true,
|
||||
|
||||
@@ -89,7 +89,7 @@ struct mp_subtitle_opts {
|
||||
bool stretch_dvd_subs;
|
||||
bool stretch_image_subs;
|
||||
bool image_subs_video_res;
|
||||
int sub_fix_timing;
|
||||
bool sub_fix_timing;
|
||||
bool sub_scale_by_window;
|
||||
bool sub_scale_with_window;
|
||||
bool ass_scale_with_window;
|
||||
|
||||
Reference in New Issue
Block a user