[Mplayer-cvslog] CVS: main/libmpcodecs vd_mpegpes.c,1.2,1.3 vd_libmpeg2.c,1.13,1.14

Arpi of Ize arpi at mplayerhq.hu
Sun Sep 22 00:38:44 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv12996

Modified Files:
	vd_mpegpes.c vd_libmpeg2.c 
Log Message:
we don't need the 0x1FF hack any more


Index: vd_mpegpes.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_mpegpes.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vd_mpegpes.c	30 Aug 2002 21:44:20 -0000	1.2
+++ vd_mpegpes.c	21 Sep 2002 22:38:41 -0000	1.3
@@ -41,7 +41,7 @@
     static vo_mpegpes_t packet;
     mpi=mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, sh->disp_w, sh->disp_h);
     packet.data=data;
-    packet.size=len-4;
+    packet.size=len;
     packet.timestamp=sh->timer*90000.0;
     packet.id=0x1E0; //+sh_video->ds->id;
     mpi->planes[0]=(uint8_t*)(&packet);

Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vd_libmpeg2.c	30 Aug 2002 21:44:20 -0000	1.13
+++ vd_libmpeg2.c	21 Sep 2002 22:38:41 -0000	1.14
@@ -286,10 +286,10 @@
     signal(SIGSEGV,old_sigh); // restore sighandler
 #endif
 
-    if(code==0x1FF){
+//    if(code==0x1FF){
 	ret=parse_chunk(sh, 0xFF, NULL, framedrop); // send 'end of frame'
 	if(ret) mpi=ret;
-    }
+//    }
 
     return mpi;
 }




More information about the MPlayer-cvslog mailing list