fix: workaround for Metal AV1 darker image
This commit is contained in:
1 parent
cbf42b1e52
commit
5bbdb76d21
1 file changed
+2
-1
@@ -629,7 +629,8 @@ int DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit);
|
|||||||
}
|
}
|
||||||
|
|
||||||
Log(LOG_I, @"AV1 video range: %@", seqHeader->color_config.color_range == 1 ? @"full" : @"limited");
|
Log(LOG_I, @"AV1 video range: %@", seqHeader->color_config.color_range == 1 ? @"full" : @"limited");
|
||||||
SET_EXTENSION(kCMFormatDescriptionExtension_FullRangeVideo, @(seqHeader->color_config.color_range == 1));
|
// Force full range AV1 video for now, as sunshine incorrect reports limited range
|
||||||
|
SET_EXTENSION(kCMFormatDescriptionExtension_FullRangeVideo, @YES);
|
||||||
|
|
||||||
// Progressive content
|
// Progressive content
|
||||||
SET_EXTENSION(kCMFormatDescriptionExtension_FieldCount, @(1));
|
SET_EXTENSION(kCMFormatDescriptionExtension_FieldCount, @(1));
|
||||||
|
|||||||
Reference in new issue
Block a user