Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 16497:182794778785
print the first 16 bytes of frame data with -v -v, helps detect when
the demuxer messes up packetizing (-dumpvideo does not help here :-( )
author | reimar |
---|---|
date | Fri, 16 Sep 2005 11:30:33 +0000 |
parents | 999f16654819 |
children | 4aa0f65686a6 |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Fri Sep 16 11:05:29 2005 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Fri Sep 16 11:30:33 2005 +0000 @@ -813,6 +813,8 @@ 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);