summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-16 11:30:33 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-16 11:30:33 +0000
commitf6fb46ab203b66988ec38566fb3ea0dbea88bd27 (patch)
treeb7ea1d3fee14e61f603707d5bf94f387c7e40e33 /libmpcodecs
parenta6f6008e301e1faf36928bf05479445e23d3c444 (diff)
downloadmpv-f6fb46ab203b66988ec38566fb3ea0dbea88bd27.tar.bz2
mpv-f6fb46ab203b66988ec38566fb3ea0dbea88bd27.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
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);