diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-08-10 17:00:37 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-08-10 17:01:03 +0300 |
commit | 5f144ca6baccbf9f8af3bf2bbe73a2d809d1ce1e (patch) | |
tree | f745a9394525fbd4ee59267d1767b77c2639dee9 /gst/mxf/mxfvc3.c | |
parent | ca8d5f28728f0054dda85c3a07571336a9d6aa74 (diff) | |
download | gstreamer-plugins-bad-5f144ca6baccbf9f8af3bf2bbe73a2d809d1ce1e.tar.gz |
mxfvc3: Use correct wrapping byte value
Diffstat (limited to 'gst/mxf/mxfvc3.c')
-rw-r--r-- | gst/mxf/mxfvc3.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |