diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-08-12 20:26:51 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2019-08-12 18:19:46 +0000 |
commit | b0470e2c98108602914d3d122e40f9c19ee39ac3 (patch) | |
tree | 72d0db13fc59934006f46cf7daa9e752a293f7b1 /gst/mxf/mxfvc3.c | |
parent | 11814365452e7e25e3f3ba8f8d96769897026a4d (diff) | |
download | gstreamer-plugins-bad-b0470e2c98108602914d3d122e40f9c19ee39ac3.tar.gz |
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.
Diffstat (limited to 'gst/mxf/mxfvc3.c')
-rw-r--r-- | gst/mxf/mxfvc3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/mxf/mxfvc3.c b/gst/mxf/mxfvc3.c index 4200d118c..c64ef908d 100644 --- a/gst/mxf/mxfvc3.c +++ b/gst/mxf/mxfvc3.c @@ -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; } |