Only interact with the AVSampleBufferDisplayLayer on the main thread

This commit is contained in:
Cameron Gutman committed 2018-06-01 00:31:41 -07:00
1 parent ec0124e255
commit 04b2fccaef
2 files changed
+18 -7

No files matched your search

+1
View File
@@ -324,6 +324,7 @@ void ClLogMessage(const char* format, ...)
LiInitializeVideoCallbacks(&_drCallbacks);
_drCallbacks.setup = DrDecoderSetup;
_drCallbacks.submitDecodeUnit = DrSubmitDecodeUnit;
_drCallbacks.capabilities = CAPABILITY_DIRECT_SUBMIT;
// RFI doesn't work properly with HEVC on iOS 11 with an iPhone SE (at least)
// It doesnt work on macOS either, tested with Network Link Conditioner.