diff options
author | Edward Hervey <edward@centricular.com> | 2018-03-11 09:23:26 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-03-22 08:22:16 +0100 |
commit | 0b721d524f47cf9b969ce4014e590786f7ff1cde (patch) | |
tree | 5e69099d55246180a0a5796a0ef650525401efae | |
parent | 4eec1641ff43b77261017c7cf68880c70f9a3c0d (diff) |
qtmux: Fix ccdp atom sizeclosedcaption
map is the input buffer mapinfo, we actually want to set the
*outgoing* atom size.
-rw-r--r-- | gst/isomp4/gstqtmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index bab212654..79b58d709 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -1006,7 +1006,7 @@ gst_qt_mux_prepare_caption_buffer (GstQTPad * qtpad, GstBuffer * buf, gst_buffer_map (newbuf, &map, GST_MAP_WRITE); - GST_WRITE_UINT32_BE (map.data, map.size + 8); + GST_WRITE_UINT32_BE (map.data, size + 8); GST_WRITE_UINT32_LE (map.data + 4, FOURCC_ccdp); memcpy (map.data + 8, inmap.data, inmap.size); |