[Mplayer-cvslog] CVS: main/libmpeg2 header.c,1.5,1.6

Arpi of Ize arpi at mplayer.dev.hu
Tue Oct 23 16:58:17 CEST 2001


Update of /cvsroot/mplayer/main/libmpeg2
In directory mplayer:/var/tmp.root/cvs-serv12170

Modified Files:
	header.c 
Log Message:
switch back to old timing code until new is bugfixed

Index: header.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/header.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- header.c	14 Oct 2001 17:29:49 -0000	1.5
+++ header.c	23 Oct 2001 14:58:15 -0000	1.6
@@ -203,22 +203,25 @@
     picture->repeat_first_field = (buffer[3] >> 1) & 1;
     picture->progressive_frame = buffer[4] >> 7;
 
-#if 0
+#if 1
     // repeat_first implementation by A'rpi/ESP-team, based on libmpeg3:
-    if(picture->repeat_count>=100) picture->repeat_count=0;
+    picture->display_time=100;
     if(picture->repeat_first_field){
         if(picture->progressive_sequence){
             if(picture->top_field_first)
-                picture->repeat_count+=200;
+                picture->display_time+=200;
             else
-                picture->repeat_count+=100;
+                picture->display_time+=100;
         } else
         if(picture->progressive_frame){
-                picture->repeat_count+=50;
+                picture->display_time+=50;
         }
     }
     //repeat_count=display_time-100%
 #else
+
+// buggy with file ftp://mplayerhq.hu/MPlayer/incoming/twc-shaolin_soccer-svcd-sample.mpg
+
    // repeat_first implemantation by iive, based on A'rpi/ESP-team and libmpeg3
     if( picture->progressive_sequence == 1 )
     {




More information about the MPlayer-cvslog mailing list