I have some streams that don't start with 0x00 00 01 B3 but with 0x 00 00 01 B8 (GOP start code). The MPEG2 video decoder fails to initialize because of this. All frames are starting with this code so the decoder never initializes.
Status MPEG2VideoDecoderBase::FindSequenceHeader(IppVideoContext *video)
if(SEQUENCE_HEADER_CODE == code)
} while ( code != UMC_ERR_NOT_ENOUGH_DATA );
I tried to modify the if to also return UMC_OK if it matches the GOP start code but no luck. Can someone tell me what could be the issue?