mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-23 00:27:56 +00:00
Fix failed queue offer code
This commit is contained in:
1 parent
b5430217dd
commit
ac48766cad
1 file changed
+3
-1
@@ -106,7 +106,9 @@ static void reassembleFrame(void) {
|
||||
nalChainHead = NULL;
|
||||
nalChainDataLength = 0;
|
||||
|
||||
if (!LbqOfferQueueItem(&decodeUnitQueue, du)) {
|
||||
if (LbqOfferQueueItem(&decodeUnitQueue, du) == LBQ_BOUND_EXCEEDED) {
|
||||
Limelog("Decode unit queue overflow\n");
|
||||
|
||||
nalChainHead = du->bufferList;
|
||||
nalChainDataLength = du->fullLength;
|
||||
free(du);
|
||||
|
||||
Reference in new issue
Block a user