summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2021-07-27 09:37:49 +0200
committerEdward Hervey <bilboed@bilboed.com>2021-07-27 09:37:49 +0200
commit837d880e2f1ac2f1be53f39725421552b2ed6001 (patch)
tree91833fb5428e82d7f58a9e5513662de29a43aec0 /gst
parent14d123528886027378fc9e9a05fb832cb3667277 (diff)
downloadgstreamer-plugins-bad-837d880e2f1ac2f1be53f39725421552b2ed6001.tar.gz
mxfvc3: Also accept clip-wrapped vc-3
We can now handle this fine Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2434>
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfvc3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mxf/mxfvc3.c b/gst/mxf/mxfvc3.c
index c64ef908d..76188a5a2 100644
--- a/gst/mxf/mxfvc3.c
+++ b/gst/mxf/mxfvc3.c
@@ -89,8 +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] != 0x05 && key->u[14] != 0x0C
- && key->u[14] != 0x0D)) {
+ if (key->u[12] != 0x15 || (key->u[14] != 0x05 && key->u[14] != 0x06
+ && key->u[14] != 0x0C && key->u[14] != 0x0D)) {
GST_ERROR ("Invalid VC-3 essence element");
return GST_FLOW_ERROR;
}