mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 08:44:21 +00:00
Wait for first IDR frame before enabling RFI
This commit is contained in:
1 parent
a653f4d3e0
commit
12eebe0039
3 files changed
+22
-17
No files matched your search
+1
-6
@@ -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