Commit 4321fd94 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

mxfmetadata: Properly write video line map data as an array of 32 bit integers

parent 4d13ef10
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment