[Mplayer-cvslog] CVS: main demux_avi.c,1.14,1.15

Arpi of Ize arpi at mplayer.dev.hu
Fri Aug 10 01:50:37 CEST 2001


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

Modified Files:
	demux_avi.c 
Log Message:
silly a_pts bug

Index: demux_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_avi.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- demux_avi.c	8 Aug 2001 19:37:45 -0000	1.14
+++ demux_avi.c	9 Aug 2001 23:50:35 -0000	1.15
@@ -84,8 +84,7 @@
 	  } else
           pts_corr_bytes+=len;
       }
-
-            pts=avi_audio_pts+pts_correction;
+            pts=avi_audio_pts; //+pts_correction;
             avi_audio_pts=0;
   } else 
   if(ds==demux->video){
@@ -114,7 +113,7 @@
 //     avi_video_pts+=avi_video_ftime;
 #endif
 //          printf("\rYYY-V  A: %5.3f  V: %5.3f  \n",avi_audio_pts,avi_video_pts);
-     avi_audio_pts=avi_video_pts;
+     avi_audio_pts=avi_video_pts+pts_correction;
      pts_has_video=1;
 
   }




More information about the MPlayer-cvslog mailing list