mirror of https://github.com/mpv-player/mpv
Reset the saved max_pts used for timecode reordering after seeking. Otherwise playback is broken after seeking back in a file that needs the timecodes to be reordered. Patch by Sam Dennis <sam () malfunction ! screaming !net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15518 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f31e64bfe2
commit
87f93d9d7f
|
@ -458,6 +458,7 @@ free_cached_dps (demuxer_t *demuxer)
|
|||
track->cached_dps = NULL;
|
||||
track->num_cached_dps = 0;
|
||||
track->num_allocated_dps = 0;
|
||||
track->max_pts = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue