diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-15 12:52:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-15 12:58:48 +0200 |
commit | 8ec618826302c2c6661453b515d4974eb3178a96 (patch) | |
tree | 653a9a210631df8d36b155ffac0498ec94f5ec2f /libavcodec/ffv1dec.c | |
parent | 2c959eccc69cca1a5b83d643d01271df2b280bb5 (diff) | |
download | ffmpeg-8ec618826302c2c6661453b515d4974eb3178a96.tar.gz |
ffv1dec: support printing information about the global header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r-- | libavcodec/ffv1dec.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 2fe511ebd8..7722507703 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -550,6 +550,20 @@ static int read_extra_header(FFV1Context *f) } } + if (f->avctx->debug & FF_DEBUG_PICT_INFO) + av_log(f->avctx, AV_LOG_DEBUG, + "global: ver:%d.%d, coder:%d, colorspace: %d bpr:%d chroma:%d(%d:%d), alpha:%d slices:%dx%d qtabs:%d ec:%d intra:%d\n", + f->version, f->minor_version, + f->ac, + f->colorspace, + f->avctx->bits_per_raw_sample, + f->chroma_planes, f->chroma_h_shift, f->chroma_v_shift, + f->transparency, + f->num_h_slices, f->num_v_slices, + f->quant_table_count, + f->ec, + f->intra + ); return 0; } |