changeset 15517:9560b286481c

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>
author mosu
date Thu, 19 May 2005 12:09:26 +0000
parents a49cb4b4e989
children 9391bf60ccdf
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Wed May 18 23:30:05 2005 +0000
+++ b/libmpdemux/demux_mkv.c	Thu May 19 12:09:26 2005 +0000
@@ -458,6 +458,7 @@
       track->cached_dps = NULL;
       track->num_cached_dps = 0;
       track->num_allocated_dps = 0;
+      track->max_pts = 0;
     }
 }