diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-29 21:35:30 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-29 21:35:30 +0000 |
commit | 40b5a6dd2903153b36d5a22fe193fa37d50d94a5 (patch) | |
tree | 7e1bf7cb5589b59b2e58d0e1ddadfd03c2563f43 /mplayer.c | |
parent | 2ec6762923fea7f28331849b1d394f30dfce1aff (diff) | |
download | mpv-40b5a6dd2903153b36d5a22fe193fa37d50d94a5.tar.bz2 mpv-40b5a6dd2903153b36d5a22fe193fa37d50d94a5.tar.xz |
-dumpvideo stores frame size for avi/asf video frames (for ffmpeg testing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1247 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -998,6 +998,8 @@ if(stream_dump_type){ 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); |