mirror of https://github.com/mpv-player/mpv
fixed debug printfs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@401 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
40a7aaa1bf
commit
b69222c3da
|
@ -37,7 +37,7 @@ int sync_video_packet(demux_stream_t *ds){
|
|||
c=demux_getc(ds);if(c<0){ return 0;} // EOF
|
||||
videobuf_code[3]=c;
|
||||
}
|
||||
if(verbose>=2) if(skipped) printf("videobuf: %d bytes skipped\n",skipped);
|
||||
if(verbose>=2) if(skipped) printf("videobuf: %d bytes skipped (next: 0x1%02X)\n",skipped,videobuf_code[3]);
|
||||
return 0x100|videobuf_code[3];
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ int packet_start;
|
|||
|
||||
videobuf_len-=4;
|
||||
|
||||
if(verbose>=2) printf("videobuf: packet 0x1%02X len=%d\n",videobuffer[3],videobuf_len);
|
||||
if(verbose>=2) printf("videobuf: packet 0x1%02X len=%d (total=%d)\n",videobuffer[packet_start+3],videobuf_len-packet_start,videobuf_len);
|
||||
|
||||
// Save next packet code:
|
||||
videobuf_code[0]=videobuffer[videobuf_len];
|
||||
|
|
Loading…
Reference in New Issue