mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-09 17:26:08 +00:00
Wait for first IDR frame before enabling RFI
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user