From 8a3075fbaef22e934876df278f6f4732eb9933d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 2 Aug 2018 12:27:45 +0300 Subject: [PATCH] qtmux: Properly allocate 256 bytes per CDP packet in prefill mode Instead of allowing 256 but only pre-allocating 100. --- gst/isomp4/gstqtmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index 9bf645ae8e..6e45351be5 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -2500,8 +2500,8 @@ prefill_get_sample_size (GstQTMux * qtmux, GstQTPad * qpad) /* We always write both cdat and cdt2 atom in prefill mode */ return 20; case FOURCC_c708: - /* We're cheating a bit by always allocating 100bytes even if we use less */ - return 100; + /* We're cheating a bit by always allocating 256 bytes even if we use less */ + return 256; case FOURCC_sowt: case FOURCC_twos:{ guint64 block_idx;