From f6fb46ab203b66988ec38566fb3ea0dbea88bd27 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 16 Sep 2005 11:30:33 +0000 Subject: 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 --- libmpcodecs/vd_ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 6ab0f65f19..8904fd981e 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -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); -- cgit v1.2.3