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>
This commit is contained in:
Edward Hervey 2021-07-27 09:37:49 +02:00 committed by Edward Hervey
parent 14d1235288
commit 837d880e2f

View file

@ -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;
}