mxfdemux: Also allow picture essence element type 0x05 for VC-3

It's found like this in various files out there even if it does not
conform to SMPTE 2019-4.
This commit is contained in:
Sebastian Dröge 2019-08-12 20:26:51 +03:00 committed by Sebastian Dröge
parent 1181436545
commit b0470e2c98

View file

@ -89,7 +89,8 @@ mxf_vc3_handle_essence_element (const MXFUL * key, GstBuffer * buffer,
*outbuf = buffer;
/* SMPTE 2019-4 6.1 */
if (key->u[12] != 0x15 || (key->u[14] != 0x0C && key->u[14] != 0x0D)) {
if (key->u[12] != 0x15 || (key->u[14] != 0x05 && key->u[14] != 0x0C
&& key->u[14] != 0x0D)) {
GST_ERROR ("Invalid VC-3 essence element");
return GST_FLOW_ERROR;
}