Mercurial > mplayer.hg
changeset 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 | cca6a74cf898 |
children | dfc4a159d296 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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);