Display: detect if WCG enabled

This commit is contained in:
李通洲
2024-07-20 01:41:24 +08:00
parent 2f26045d30
commit 4fe1bb0b7e
6 changed files with 15 additions and 1 deletions
+1
View File
@@ -319,6 +319,7 @@ void ffGenerateDisplayJsonResult(FF_MAYBE_UNUSED FFDisplayOptions* options, yyjs
yyjson_mut_obj_add_uint(doc, obj, "rotation", item->rotation);
yyjson_mut_obj_add_uint(doc, obj, "bitDepth", item->bitDepth);
yyjson_mut_obj_add_bool(doc, obj, "hdrEnabled", item->hdrEnabled);
yyjson_mut_obj_add_bool(doc, obj, "wcgEnabled", item->wcgEnabled);
switch (item->type)
{