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

Ivan Kalvachev iive at mplayer.dev.hu
Thu Oct 25 18:02:39 CEST 2001


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

Modified Files:
	header.c 
Log Message:
fixed a wrong display_time value

Index: header.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/header.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- header.c	23 Oct 2001 14:58:15 -0000	1.6
+++ header.c	25 Oct 2001 16:02:17 -0000	1.7
@@ -203,7 +203,7 @@
     picture->repeat_first_field = (buffer[3] >> 1) & 1;
     picture->progressive_frame = buffer[4] >> 7;
 
-#if 1
+#if 0
     // repeat_first implementation by A'rpi/ESP-team, based on libmpeg3:
     picture->display_time=100;
     if(picture->repeat_first_field){
@@ -220,7 +220,6 @@
     //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 )
@@ -237,7 +236,7 @@
 	     picture->display_time=100;//2fields, interlaced in time
 	 else
 	 {
-	     if( picture->top_field_first == 0 ) picture->display_time=100;//reconstruct 2 fields
+	     if( picture->top_field_first == 0 ) picture->display_time=150;//reconstruct 2 fields
 	     else picture->display_time = 150;//reconstruct 3 fields
 	 }
 




More information about the MPlayer-cvslog mailing list