mirror of
https://github.com/mpv-player/mpv
synced 2025-03-18 17:40:30 +00:00
-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
This commit is contained in:
parent
2ec6762923
commit
40b5a6dd29
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user