This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new b817e19259 avformat/dump: support printing Dolby Vision stream group
information
b817e19259 is described below
commit b817e19259404668f6bf13e39583f5645d50b66a
Author: James Almer <[email protected]>
AuthorDate: Fri Jun 12 00:20:11 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Fri Jun 12 15:10:12 2026 +0000
avformat/dump: support printing Dolby Vision stream group information
Signed-off-by: James Almer <[email protected]>
---
libavformat/dump.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 9e0a4adad2..48f96611b8 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -810,17 +810,19 @@ static void dump_stream_group(const AVFormatContext *ic,
uint8_t *printed,
}
break;
}
+ case AV_STREAM_GROUP_PARAMS_DOLBY_VISION:
case AV_STREAM_GROUP_PARAMS_LCEVC: {
- const AVStreamGroupLayeredVideo *lcevc = stg->params.layered_video;
+ const AVStreamGroupLayeredVideo *layered_video =
stg->params.layered_video;
AVCodecContext *avctx = avcodec_alloc_context3(NULL);
const char *ptr = NULL;
- av_log(NULL, AV_LOG_INFO, " LCEVC:");
+ av_log(NULL, AV_LOG_INFO, " %s:", stg->type ==
AV_STREAM_GROUP_PARAMS_DOLBY_VISION ?
+ "Dolby Vision" : "LCEVC");
if (avctx && stg->nb_streams == 2 &&
- !avcodec_parameters_to_context(avctx,
stg->streams[!lcevc->el_index]->codecpar)) {
- avctx->width = lcevc->width;
- avctx->height = lcevc->height;
- avctx->coded_width = lcevc->width;
- avctx->coded_height = lcevc->height;
+ !avcodec_parameters_to_context(avctx,
stg->streams[!layered_video->el_index]->codecpar)) {
+ avctx->width = layered_video->width;
+ avctx->height = layered_video->height;
+ avctx->coded_width = layered_video->width;
+ avctx->coded_height = layered_video->height;
if (ic->dump_separator)
av_opt_set(avctx, "dump_separator", ic->dump_separator, 0);
buf[0] = 0;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]