[MPlayer-cvslog] r26960 - trunk/libmpdemux/demux_ts.c

nicodvb subversion at mplayerhq.hu
Mon Jun 2 12:22:46 CEST 2008


Author: nicodvb
Date: Mon Jun  2 12:22:46 2008
New Revision: 26960

Log:
call demux_flush() where appropriate

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Mon Jun  2 12:22:46 2008
@@ -3139,13 +3139,8 @@ static void demux_seek_ts(demuxer_t *dem
 	ts_dump_streams(demuxer->priv);
 	reset_fifos(demuxer, sh_audio != NULL, sh_video != NULL, demuxer->sub->id > 0);
 
+	demux_flush(demuxer);
 
-	if(sh_audio != NULL)
-		ds_free_packs(d_audio);
-	if(sh_video != NULL)
-		ds_free_packs(d_video);
-	if(demuxer->sub->id > 0)
-		ds_free_packs(d_sub);
 
 
 	video_stats = (sh_video != NULL);



More information about the MPlayer-cvslog mailing list