Wait for first IDR frame before enabling RFI

This commit is contained in:
Cameron Gutman committed 2019-01-19 14:44:48 -08:00
1 parent a653f4d3e0
commit 12eebe0039
3 files changed
+22 -17

No files matched your search

+1 -6
View File
@@ -138,12 +138,7 @@ static void DecoderThreadProc(void* context) {
int ret = VideoCallbacks.submitDecodeUnit(&qdu->decodeUnit);
freeQueuedDecodeUnit(qdu);
if (ret == DR_NEED_IDR) {
Limelog("Requesting IDR frame on behalf of DR\n");
requestDecoderRefresh();
}
completeQueuedDecodeUnit(qdu, ret);
}
}