|
6 | 6 |
|
7 | 7 | #include <math.h> |
8 | 8 |
|
9 | | -#define FF_DISPLAY_NUM_FORMAT_ARGS 16 |
| 9 | +#define FF_DISPLAY_NUM_FORMAT_ARGS 15 |
10 | 10 |
|
11 | 11 | static int sortByNameAsc(FFDisplayResult* a, FFDisplayResult* b) |
12 | 12 | { |
@@ -156,7 +156,6 @@ void ffPrintDisplay(FFDisplayOptions* options) |
156 | 156 | {FF_FORMAT_ARG_TYPE_DOUBLE, &ppi, "ppi"}, |
157 | 157 | {FF_FORMAT_ARG_TYPE_UINT8, &result->bitDepth, "bit-depth"}, |
158 | 158 | {FF_FORMAT_ARG_TYPE_BOOL, &result->hdrEnabled, "hdr-enabled"}, |
159 | | - {FF_FORMAT_ARG_TYPE_BOOL, &result->wcgEnabled, "wcg-enabled"}, |
160 | 159 | })); |
161 | 160 | } |
162 | 161 | } |
@@ -326,7 +325,6 @@ void ffGenerateDisplayJsonResult(FF_MAYBE_UNUSED FFDisplayOptions* options, yyjs |
326 | 325 | yyjson_mut_obj_add_uint(doc, obj, "rotation", item->rotation); |
327 | 326 | yyjson_mut_obj_add_uint(doc, obj, "bitDepth", item->bitDepth); |
328 | 327 | yyjson_mut_obj_add_bool(doc, obj, "hdrEnabled", item->hdrEnabled); |
329 | | - yyjson_mut_obj_add_bool(doc, obj, "wcgEnabled", item->wcgEnabled); |
330 | 328 |
|
331 | 329 | switch (item->type) |
332 | 330 | { |
@@ -361,7 +359,6 @@ void ffPrintDisplayHelpFormat(void) |
361 | 359 | "Pixels per inch (PPI) - ppi", |
362 | 360 | "Bits per color channel - bit-depth", |
363 | 361 | "True if high dynamic range (HDR) is enabled - hdr-enabled", |
364 | | - "True if wide color gamut (WCG) is enabled - wcg-enabled", |
365 | 362 | })); |
366 | 363 | } |
367 | 364 |
|
|
0 commit comments