diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-17 14:30:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-17 15:11:09 +0200 |
commit | 0a141b0e49ba3989a28f5f006a978bdab92a9217 (patch) | |
tree | 1e0114a601e5c66138f0697d5a664da68961d1ec | |
parent | 2c25e83b1d022ab36842d77749024b3d720a4227 (diff) | |
download | ffmpeg-0a141b0e49ba3989a28f5f006a978bdab92a9217.tar.gz |
avcodec/dxa: Support printing picture debug info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dxa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c index 8f8e1a772d..0c90264e0d 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; |