[FFmpeg-cvslog] avcodec/dxa: Support printing picture debug info
Michael Niedermayer
git at videolan.org
Sat Aug 17 15:19:26 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 17 14:30:10 2013 +0200| [0a141b0e49ba3989a28f5f006a978bdab92a9217] | committer: Michael Niedermayer
avcodec/dxa: Support printing picture debug info
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a141b0e49ba3989a28f5f006a978bdab92a9217
---
libavcodec/dxa.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index 8f8e1a7..0c90264 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -246,6 +246,10 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
return AVERROR_UNKNOWN;
}
}
+
+ if (avctx->debug & FF_DEBUG_PICT_INFO)
+ av_log(avctx, AV_LOG_DEBUG, "compr:%2d, dsize:%d\n", compr, (int)dsize);
+
switch(compr){
case -1:
frame->key_frame = 0;
More information about the ffmpeg-cvslog
mailing list