summaryrefslogtreecommitdiff
path: root/gst/mxf
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-29 21:09:44 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-01-29 21:09:44 +0100
commit4321fd94a1c16591be14eccdd7eb8034a9a69027 (patch)
treea2a960214bcd474a0015a4afad7754386d3ae754 /gst/mxf
parent4d13ef1034ef56eee1b8586b5ba81e82d4cf98ce (diff)
downloadgstreamer-plugins-bad-4321fd94a1c16591be14eccdd7eb8034a9a69027.tar.gz
mxfmetadata: Properly write video line map data as an array of 32 bit integers
Diffstat (limited to 'gst/mxf')
-rw-r--r--gst/mxf/mxfmetadata.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mxf/mxfmetadata.c b/gst/mxf/mxfmetadata.c
index c32b7b4c9..69aadb549 100644
--- a/gst/mxf/mxfmetadata.c
+++ b/gst/mxf/mxfmetadata.c
@@ -4807,8 +4807,10 @@ mxf_metadata_generic_picture_essence_descriptor_write_tags (MXFMetadataBase * m,
t->size = 16;
t->data = g_slice_alloc (t->size);
t->g_slice = TRUE;
- GST_WRITE_UINT64_BE (t->data, self->video_line_map[0]);
- GST_WRITE_UINT64_BE (t->data + 8, self->video_line_map[1]);
+ GST_WRITE_UINT32_BE (t->data, 2);
+ GST_WRITE_UINT32_BE (t->data + 4, 4);
+ GST_WRITE_UINT32_BE (t->data + 8, self->video_line_map[0]);
+ GST_WRITE_UINT32_BE (t->data + 12, self->video_line_map[1]);
mxf_primer_pack_add_mapping (primer, 0x320d, &t->ul);
ret = g_list_prepend (ret, t);