Enable HEVC RFI for VideoToolbox

This commit is contained in:
Cameron Gutman 2022-10-05 00:25:59 -05:00
commit f8c7e2ee41

View file

@ -508,6 +508,11 @@ public:
return COLORSPACE_REC_601; return COLORSPACE_REC_601;
} }
int getDecoderCapabilities() override
{
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
}
int getRendererAttributes() override int getRendererAttributes() override
{ {
// AVSampleBufferDisplayLayer supports HDR output // AVSampleBufferDisplayLayer supports HDR output