summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1dec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-06-24 17:38:33 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-06-29 07:21:07 +0200
commit3c08b7bc761b6411f55db68189721638dde2c46a (patch)
tree993bdab9efc34d4c2963388398c74ab52ae33ca2 /libavcodec/ffv1dec.c
parentfe6e5cbea7dbd5d2c67d79b5570e26debb70e95b (diff)
ffv1: Report additional bitstream information in verbose mode
Useful to inspect samples.
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r--libavcodec/ffv1dec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index de3a019557..b72a939877 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -537,6 +537,13 @@ static int read_extra_header(FFV1Context *f)
}
}
+ av_log(f->avctx, AV_LOG_VERBOSE,
+ "FFV1 version %d.%d colorspace %d - %d bits - %d/%d planes, %s transparent - tile geometry %dx%d - %s\n",
+ f->version, f->minor_version, f->colorspace, f->avctx->bits_per_raw_sample,
+ f->plane_count, f->chroma_planes, f->transparency ? "" : "not",
+ f->num_h_slices, f->num_v_slices,
+ f->ec ? "per-slice crc" : "no crc");
+
return 0;
}