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
This commit is contained in:
Sebastian Dröge 2016-09-29 17:40:23 +03:00
parent 4cff5093ee
commit b815c41b7e

View file

@ -1596,6 +1596,9 @@ atom_info_list_copy_data (GList * ai, guint8 ** buffer, guint64 * size,
ai = g_list_next (ai); 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; return *offset - original_offset;
} }