mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
mpeg2: ignore system start codes (PES headers).
This commit is contained in:
parent
c5902b7a84
commit
ce413eb83d
1 changed files with 5 additions and 0 deletions
|
@ -773,6 +773,11 @@ decode_chunks(GstVaapiDecoderMpeg2 *decoder, GstBuffer *buffer, GList *chunks)
|
|||
);
|
||||
break;
|
||||
}
|
||||
else if (tos->type >= 0xb9 && tos->type <= 0xff) {
|
||||
// Ignore system start codes (PES headers)
|
||||
status = GST_VAAPI_DECODER_STATUS_SUCCESS;
|
||||
break;
|
||||
}
|
||||
GST_DEBUG("unsupported start code (0x%02x)", tos->type);
|
||||
status = GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue