diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-08-12 20:26:51 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-08-13 13:53:07 +0100 |
commit | 898441a2db256b2ceef75a9d34ad8569a4c2e7d1 (patch) | |
tree | 3fbc804f9c5545e08450bd8bd4ae3c9d2ed8b3c6 | |
parent | 35261c1fe548342af166b963bb358015ae4b3ab6 (diff) | |
download | gstreamer-plugins-bad-898441a2db256b2ceef75a9d34ad8569a4c2e7d1.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.
-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; } |