diff options
author | rcombs <rcombs@rcombs.me> | 2020-12-23 00:40:32 -0600 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2021-06-23 16:10:29 -0400 |
commit | 11423acf3048445620bf1e8987b3f7aa04887cf0 (patch) | |
tree | a5f1d977eee7d02856eabf77776faf10b24b6c2b /options/options.h | |
parent | cb56c2f888dbe86dbc38839c32684d54ea93c63e (diff) | |
download | mpv-11423acf3048445620bf1e8987b3f7aa04887cf0.tar.bz2 mpv-11423acf3048445620bf1e8987b3f7aa04887cf0.tar.xz |
sub: by default, don't render timestamps after video EOF
This fixes a long-standing apparent issue where mpv would display the last
frame with no subtitles at EOF. This is caused by sub rendering switching from
video timestamps to audio timestamps when the video ends, and audio streams
often running past the timestamp of the last video frame. However, authoring
tools (most notably Aegisub) don't tend to provide easy ways to add meaningful
subtitles after the end of the video, so this is rarely actually useful.
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 6522057cd0..f0de6781ee 100644 --- a/options/options.h +++ b/options/options.h @@ -107,6 +107,7 @@ struct mp_subtitle_opts { int ass_justify; int sub_clear_on_seek; int teletext_page; + int sub_past_video_end; }; struct mp_sub_filter_opts { |