diff options
author | Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com> | 2023-10-28 15:54:43 +0300 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-07 20:46:40 +0000 |
commit | d470766000250ada785da3513dc7a476447e7e73 (patch) | |
tree | a75579ab409735bc935411f381e2fe7a043d3d8a /options/options.h | |
parent | c2b3d967baf0f38807764ee9a04d620de19d3403 (diff) | |
download | mpv-d470766000250ada785da3513dc7a476447e7e73.tar.bz2 mpv-d470766000250ada785da3513dc7a476447e7e73.tar.xz |
sub: add --sub-stretch-durations option
Stretch a subtitle duration so it ends when the next one starts.
Should help with subtitles which erroneously have zero durations.
I found such a subrip substitles stream in the wild.
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h index 3c730cebf5..aa071b28f6 100644 --- a/options/options.h +++ b/options/options.h @@ -93,6 +93,7 @@ struct mp_subtitle_opts { bool stretch_image_subs; bool image_subs_video_res; bool sub_fix_timing; + bool sub_stretch_durations; bool sub_scale_by_window; bool sub_scale_with_window; bool ass_scale_with_window; |