mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Temporarily comment out validation of reserved field
FEC doesn't recover this field correctly with GFE 3.20.4.
This commit is contained in:
parent
407d57a50a
commit
5c9935e11b
@ -234,7 +234,10 @@ cleanup_packets:
|
||||
LC_ASSERT(nvPacket->flags == droppedNvPacket->flags);
|
||||
LC_ASSERT(nvPacket->frameIndex == droppedNvPacket->frameIndex);
|
||||
LC_ASSERT(nvPacket->streamPacketIndex == droppedNvPacket->streamPacketIndex);
|
||||
LC_ASSERT(memcmp(nvPacket->reserved, droppedNvPacket->reserved, sizeof(nvPacket->reserved)) == 0);
|
||||
|
||||
// TODO: Investigate assertion failure here with GFE 3.20.4. The remaining fields and
|
||||
// video data are still recovered successfully, so this doesn't seem critical.
|
||||
//LC_ASSERT(memcmp(nvPacket->reserved, droppedNvPacket->reserved, sizeof(nvPacket->reserved)) == 0);
|
||||
|
||||
// Check the data itself - use memcmp() and only loop if an error is detected
|
||||
if (memcmp(nvPacket + 1, droppedNvPacket + 1, droppedDataLength)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user