Wait for first IDR frame before enabling RFI

This commit is contained in:
Cameron Gutman
2019-01-19 14:44:48 -08:00
parent a653f4d3e0
commit 12eebe0039
3 changed files with 22 additions and 17 deletions

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);
}
}