From c3de29345025d4cc817b803c3504798a0f83b370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 18 Jul 2024 16:43:19 +0800 Subject: [PATCH] Display: print more information --- src/modules/display/display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/display/display.c b/src/modules/display/display.c index e6b2104de..f694f76f0 100644 --- a/src/modules/display/display.c +++ b/src/modules/display/display.c @@ -310,6 +310,8 @@ void ffGenerateDisplayJsonResult(FF_MAYBE_UNUSED FFDisplayOptions* options, yyjs yyjson_mut_obj_add_uint(doc, obj, "scaledHeight", item->scaledHeight); yyjson_mut_obj_add_uint(doc, obj, "physicalWidth", item->physicalWidth); yyjson_mut_obj_add_uint(doc, obj, "physicalHeight", item->physicalHeight); + yyjson_mut_obj_add_uint(doc, obj, "bitDepth", item->bitDepth); + yyjson_mut_obj_add_bool(doc, obj, "hdrEnabled", item->hdrEnabled); switch (item->type) {