We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9764a2e + 07c7567 commit 1163777Copy full SHA for 1163777
src/json_rpc_client.c
@@ -27,7 +27,7 @@ DynamicRange get_dynamic_range(const char* range)
27
{
28
if (strcmp(range, "DolbyVision") == 0 || strcmp(range, "dolbyHdr") == 0) {
29
return DOLBYVISION;
30
- } else if (strcmp(range, "HDR") == 0 || strcmp(range, "HDR10") == 0 || strcmp(range, "hdr10") == 0 || strcmp(range, "hdr") == 0) {
+ } else if (strstr(range, "hdr") != NULL || strstr(range, "HDR") != NULL) {
31
return HDR10;
32
} else if (strcmp(range, "sdr") == 0 || strcmp(range, "none") == 0) {
33
return SDR;
0 commit comments