mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
print the first 16 bytes of frame data with -v -v, helps detect when
the demuxer messes up packetizing (-dumpvideo does not help here :-( ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16498 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a6f6008e30
commit
f6fb46ab20
@ -813,6 +813,8 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
data+= sizeof(dp_hdr_t);
|
||||
}
|
||||
|
||||
mp_msg(MSGT_DECVIDEO, MSGL_DBG2, "vd_ffmpeg data: %04x, %04x, %04x, %04x\n",
|
||||
((int *)data)[0], ((int *)data)[1], ((int *)data)[2], ((int *)data)[3]);
|
||||
ret = avcodec_decode_video(avctx, pic,
|
||||
&got_picture, data, len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user