mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 08:55:48 +00:00
Fix failed queue offer code
This commit is contained in:
parent
b5430217dd
commit
ac48766cad
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user