From e2953fedf99f6ed91191196a5b2d9f535e155b0d Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 8 Dec 2024 19:09:02 -0300 Subject: [PATCH] avformat/hevc: also print NALU ids Signed-off-by: James Almer --- libavformat/hevc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/hevc.c b/libavformat/hevc.c index 23ebbc5bff..5cde2abf8f 100644 --- a/libavformat/hevc.c +++ b/libavformat/hevc.c @@ -948,6 +948,12 @@ static int hvcc_write(void *logctx, AVIOContext *pb, if (is_lhvc && array->nal[k].nuh_layer_id == 0) continue; + av_log(logctx, AV_LOG_TRACE, + "nuh_layer_id[%u][%u]: %"PRIu8"\n", + j, k, array->nal[k].nuh_layer_id); + av_log(logctx, AV_LOG_TRACE, + "parameter_set_id[%u][%u]: %"PRIu8"\n", + j, k, array->nal[k].parameter_set_id); av_log(logctx, AV_LOG_TRACE, "nalUnitLength[%u][%u]: %"PRIu16"\n", j, k, array->nal[k].nalUnitLength);