mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 01:34:05 +00:00
Add LiRequestIdrFrame() API for requesting an IDR frame on demand
This commit is contained in:
1 parent
502f799a73
commit
9240090983
4 files changed
+15
-9
No files matched your search
+4
-4
@@ -312,20 +312,20 @@ void queueFrameInvalidationTuple(int startFrame, int endFrame) {
|
||||
// Too many invalidation tuples, so we need an IDR frame now
|
||||
Limelog("RFI range list reached maximum size limit\n");
|
||||
free(qfit);
|
||||
requestIdrOnDemand();
|
||||
LiRequestIdrFrame();
|
||||
}
|
||||
}
|
||||
else {
|
||||
requestIdrOnDemand();
|
||||
LiRequestIdrFrame();
|
||||
}
|
||||
}
|
||||
else {
|
||||
requestIdrOnDemand();
|
||||
LiRequestIdrFrame();
|
||||
}
|
||||
}
|
||||
|
||||
// Request an IDR frame on demand by the decoder
|
||||
void requestIdrOnDemand(void) {
|
||||
void LiRequestIdrFrame(void) {
|
||||
// Any reference frame invalidation requests should be dropped now.
|
||||
// We require a full IDR frame to recover.
|
||||
freeFrameInvalidationList(LbqFlushQueueItems(&invalidReferenceFrameTuples));
|
||||
|
||||
Reference in new issue
Block a user