diff options
author | wm4 <wm4@nowhere> | 2014-11-05 18:47:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-05 18:47:12 +0100 |
commit | ea613c2592e99ebb9f9bf3f374465b26a077b4cf (patch) | |
tree | 90d930eaac0bac9da1dc658d606afdc33ca72c4f /demux/demux_mkv.c | |
parent | a821e72b81029767414ed8c661532f41350cbce7 (diff) | |
download | mpv-ea613c2592e99ebb9f9bf3f374465b26a077b4cf.tar.bz2 mpv-ea613c2592e99ebb9f9bf3f374465b26a077b4cf.tar.xz |
command: use playback time as reference for sub_seek
update_subtitle() already uees playback_pts to make subtitles work
better in no-audio mode. Using get_current_time() usually gets
playback_pts, but also has the advantage that it will use the seek
target time during seeks. This will result in multiple sub_seek commands
doing the right thing (at least as long as they're far enough apart so
that seeking is actually initiated when the second command is run).
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions