[Mplayer-cvslog] CVS: main mplayer.c,1.167,1.168

Arpi of Ize arpi at mplayerhq.banki.hu
Fri Jun 29 23:35:33 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:
-dumpvideo stores frame size for avi/asf video frames (for ffmpeg testing)

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- mplayer.c	27 Jun 2001 11:39:17 -0000	1.167
+++ mplayer.c	29 Jun 2001 21:35:30 -0000	1.168
@@ -998,6 +998,8 @@
   while(!ds->eof){
     unsigned char* start;
     int in_size=ds_get_packet(ds,&start);
+    if( (file_format==DEMUXER_TYPE_AVI || file_format==DEMUXER_TYPE_ASF)
+	&& stream_dump_type==2) fwrite(&in_size,1,4,f);
     if(in_size>0) fwrite(start,in_size,1,f);
   }
   fclose(f);


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list