[Mplayer-cvslog] CVS: main/libvo vo_mpegpes.c,1.14,1.15

Arpi of Ize arpi at mplayer.dev.hu
Thu Jan 24 01:08:31 CET 2002


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

Modified Files:
	vo_mpegpes.c 
Log Message:
vo_pts fix (10l)

Index: vo_mpegpes.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_mpegpes.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- vo_mpegpes.c	22 Jan 2002 18:12:00 -0000	1.14
+++ vo_mpegpes.c	24 Jan 2002 00:08:22 -0000	1.15
@@ -428,10 +428,11 @@
 #ifdef USE_LIBAVCODEC
   if(picture_buf){ // YV12 only:
     int out_size;
-    static int fno=0;
+//    static int fno=0;
     /* encode the image */
     out_size = avcodec_encode_video(&codec_context, outbuf, outbuf_size, &picture);
-    send_pes_packet(outbuf,out_size,0x1E0,fno*(90000/25));++fno;
+//    send_pes_packet(outbuf,out_size,0x1E0,fno*(90000/25));++fno;
+    send_pes_packet(outbuf,out_size,0x1E0,vo_pts);
 //    printf("frame size: %d  \n",out_size);
   }
 #endif




More information about the MPlayer-cvslog mailing list