git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6e5cb
)
ffv1: Report additional bitstream information in verbose mode
author
Luca Barbato
<lu_zero@gentoo.org>
Fri, 24 Jun 2016 15:38:33 +0000
(17:38 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 29 Jun 2016 05:21:07 +0000
(07:21 +0200)
Useful to inspect samples.
libavcodec/ffv1dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1dec.c
b/libavcodec/ffv1dec.c
index
de3a019
..
b72a939
100644
(file)
--- 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;
}