aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-21 02:44:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-21 02:44:54 +0100
commit45ad7bc423281b13e8f2e80abe85fd5164d01beb (patch)
tree08a8d39ee362ec0fc6567ceb88f73cd3003266ea
parent19139d8516dd676622e17533dd5704baaabb796e (diff)
downloadffmpeg-45ad7bc423281b13e8f2e80abe85fd5164d01beb.tar.gz
avcodec/snowdec: provide information about the wavelet with -debug 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/snowdec.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c
index 79cf5a1853..ba5c7ed064 100644
--- a/libavcodec/snowdec.c
+++ b/libavcodec/snowdec.c
@@ -445,7 +445,12 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
return -1;
//keyframe flag duplication mess FIXME
if(avctx->debug&FF_DEBUG_PICT_INFO)
- av_log(avctx, AV_LOG_ERROR, "keyframe:%d qlog:%d\n", s->keyframe, s->qlog);
+ av_log(avctx, AV_LOG_ERROR,
+ "keyframe:%d qlog:%d decomposition_type:%d decomposition_count:%d\n",
+ s->keyframe, s->qlog,
+ s->spatial_decomposition_type,
+ s->spatial_decomposition_count
+ );
if ((res = decode_blocks(s)) < 0)
return res;