mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-07-02 15:56:02 +00:00
Remove overzealous assert
This commit is contained in:
parent
bc00d957d3
commit
5c7a5ce129
@ -202,11 +202,8 @@ void validateDecodeUnitForPlayback(PDECODE_UNIT decodeUnit) {
|
|||||||
LC_ASSERT(decodeUnit->bufferList->next->next->bufferType == BUFFER_TYPE_PPS);
|
LC_ASSERT(decodeUnit->bufferList->next->next->bufferType == BUFFER_TYPE_PPS);
|
||||||
LC_ASSERT(decodeUnit->bufferList->next->next->next != NULL);
|
LC_ASSERT(decodeUnit->bufferList->next->next->next != NULL);
|
||||||
|
|
||||||
// We get 2 sets of VPS, SPS, and PPS NALUs when we use HEVC Main 10.
|
// We get 2 sets of VPS, SPS, and PPS NALUs in HDR mode.
|
||||||
// FIXME: Should we normalize this or something for clients?
|
// FIXME: Should we normalize this or something for clients?
|
||||||
if (NegotiatedVideoFormat != VIDEO_FORMAT_H265_MAIN10) {
|
|
||||||
LC_ASSERT(decodeUnit->bufferList->next->next->next->bufferType == BUFFER_TYPE_PICDATA);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LC_ASSERT(false);
|
LC_ASSERT(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user