diff options
author | wm4 <wm4@nowhere> | 2017-10-25 14:18:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-25 16:39:33 +0200 |
commit | 56d9dafbbb1a5051a40968dec297e018d04a950f (patch) | |
tree | ba93cb0f8a0bee128247ea2548ec178bf8e8e895 /demux/demux_mkv.c | |
parent | 8bf399e02ef7390becf8efddb312417ee0b82a9c (diff) | |
download | mpv-56d9dafbbb1a5051a40968dec297e018d04a950f.tar.bz2 mpv-56d9dafbbb1a5051a40968dec297e018d04a950f.tar.xz |
demux: respect timeline boundaries for cache seeks
With the timeline code, a packet at the start or end of a segment can
refer to an invisible frame. So it doesn't extend the seek range, and
the timestamp should be clipped to the actual segment range.
Also restructure recompute_keyframe_target_pts() to be hopefully less
confusing.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions