[MPlayer-cvslog] r22173 - trunk/libmpdemux/demux_mpg.c

nicodvb subversion at mplayerhq.hu
Thu Feb 8 00:56:08 CET 2007


Author: nicodvb
Date: Thu Feb  8 00:56:08 2007
New Revision: 22173

Modified:
   trunk/libmpdemux/demux_mpg.c

Log:
when seeking and the codec is VC1 sync to sequence or entry point headers

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	(original)
+++ trunk/libmpdemux/demux_mpg.c	Thu Feb  8 00:56:08 2007
@@ -918,6 +918,10 @@
           }
 	  if(!sh_video) break;
           i=sync_video_packet(d_video);
+          if(sh_video->format == mmioFOURCC('W', 'V', 'C', '1')) {
+            if(i==0x10E || i==0x10F) //entry point or sequence header
+              break;
+          } else
           if(sh_video->format == 0x10000004) {	//mpeg4
             if(i==0x1B6) {			//vop (frame) startcode
 	      int pos = videobuf_len;



More information about the MPlayer-cvslog mailing list