From 5f144ca6baccbf9f8af3bf2bbe73a2d809d1ce1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 10 Aug 2017 17:00:37 +0300 Subject: mxfvc3: Use correct wrapping byte value --- gst/mxf/mxfvc3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst') diff --git a/gst/mxf/mxfvc3.c b/gst/mxf/mxfvc3.c index 638cffa3a..4200d118c 100644 --- a/gst/mxf/mxfvc3.c +++ b/gst/mxf/mxfvc3.c @@ -89,7 +89,7 @@ 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] != 0x06)) { + if (key->u[12] != 0x15 || (key->u[14] != 0x0C && key->u[14] != 0x0D)) { GST_ERROR ("Invalid VC-3 essence element"); return GST_FLOW_ERROR; } @@ -261,7 +261,7 @@ static guint32 mxf_vc3_get_track_number_template (MXFMetadataFileDescriptor * a, GstCaps * caps, gpointer mapping_data) { - return (0x15 << 24) | (0x05 << 8); + return (0x15 << 24) | (0x0C << 8); } static MXFEssenceElementWriter mxf_vc3_essence_element_writer = { -- cgit v1.2.1