diff options
author | wm4 <wm4@nowhere> | 2016-11-18 13:01:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-18 13:02:03 +0100 |
commit | c4d6fcbb021a3e3d0c62d6f60ec88aaea602b054 (patch) | |
tree | 9ab7d197e1a3f1f4650317a6a6224c7171a89a69 /.travis.yml | |
parent | 6250007bcaf1ca780aea033d2bb795aa12cc1ed6 (diff) | |
download | mpv-c4d6fcbb021a3e3d0c62d6f60ec88aaea602b054.tar.bz2 mpv-c4d6fcbb021a3e3d0c62d6f60ec88aaea602b054.tar.xz |
player: make sure non-video subtitle rendering is reset if video resumes
If video reaches EOF, subtitle timing will be switched to timing without
video frames. This means it calls osd_set_force_video_pts() and
overrides the PTS of whatever video frame is current (since the video
frame's PTS has nothing to do with the current playback position
anymore).
This was not reset when seeking back into video. Subtitles wouldn't show
up, or if there was a subtitle displayed, it would get stuck with it. In
particular, this could happen even if EOF was only temporary (such as
with --keep-open).
Fix this by clearing the override PTS whenever a video frame is shown.
Fixes #3770.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions