[MPlayer-cvslog] r20855 - trunk/libmpdemux/demuxer.c

nicodvb subversion at mplayerhq.hu
Sat Nov 11 12:53:33 CET 2006


Author: nicodvb
Date: Sat Nov 11 12:53:32 2006
New Revision: 20855

Modified:
   trunk/libmpdemux/demuxer.c

Log:
in demux_seek() if STREAM_CTRL_SEEK_TO_CHAPTER suceeds call DEMUXER_CTRL_RESYNC to notify the demuxer of the change

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	(original)
+++ trunk/libmpdemux/demuxer.c	Sat Nov 11 12:53:32 2006
@@ -1110,6 +1110,8 @@
             ds_free_packs(demuxer->sub);
 
         ris = stream_control(demuxer->stream, STREAM_CTRL_SEEK_TO_CHAPTER, &chapter);
+        if(ris != STREAM_UNSUPORTED)
+            demux_control(demuxer, DEMUXER_CTRL_RESYNC, NULL);
         if(sh_video) {
             ds_fill_buffer(demuxer->video);
             resync_video_stream(sh_video);



More information about the MPlayer-cvslog mailing list