From 5c7a5ce129dab792530da91c42f17867a685524e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 6 Dec 2022 17:23:11 -0600 Subject: [PATCH] Remove overzealous assert --- src/VideoDepacketizer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/VideoDepacketizer.c b/src/VideoDepacketizer.c index 099cab2..207ed73 100644 --- a/src/VideoDepacketizer.c +++ b/src/VideoDepacketizer.c @@ -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->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? - if (NegotiatedVideoFormat != VIDEO_FORMAT_H265_MAIN10) { - LC_ASSERT(decodeUnit->bufferList->next->next->next->bufferType == BUFFER_TYPE_PICDATA); - } } else { LC_ASSERT(false);