summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-09-29 17:40:23 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-11-01 20:41:22 +0200
commitb815c41b7eee708a9e6e14caadffa04839bbdecf (patch)
treec46a2c86e6c94702de3fcbc175d4f0582bd6c07d
parent4cff5093eee6c1e18c4cf7200e94badd6142a78b (diff)
qtmux: Write 4 bytes of zeroes at the end of the sample description extensions
This is working around some broken software. https://bugzilla.gnome.org/show_bug.cgi?id=769048
-rw-r--r--gst/isomp4/atoms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/isomp4/atoms.c b/gst/isomp4/atoms.c
index 0709c56c3..948bfb651 100644
--- a/gst/isomp4/atoms.c
+++ b/gst/isomp4/atoms.c
@@ -1596,6 +1596,9 @@ atom_info_list_copy_data (GList * ai, guint8 ** buffer, guint64 * size,
ai = g_list_next (ai);
}
+ /* append 0 as a terminator "length" to work around some broken software */
+ prop_copy_uint32 (0, buffer, size, offset);
+
return *offset - original_offset;
}