aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-12-08 19:09:02 -0300
committerJames Almer <jamrial@gmail.com>2024-12-08 19:13:34 -0300
commite2953fedf99f6ed91191196a5b2d9f535e155b0d (patch)
tree9760cca1ca05faa02fba9a5254ab4a23a4cf522e
parent68ee3faf48a740a9b87933107d58cb82fe74a40c (diff)
downloadffmpeg-e2953fedf99f6ed91191196a5b2d9f535e155b0d.tar.gz
avformat/hevc: also print NALU ids
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/hevc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index 23ebbc5bff..5cde2abf8f 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -949,6 +949,12 @@ static int hvcc_write(void *logctx, AVIOContext *pb,
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);
}