projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3075f
)
qtmux: The sample size we have to reserve is 256+8 bytes for the header for CDP packets
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 2 Aug 2018 10:40:09 +0000
(13:40 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 2 Aug 2018 10:40:09 +0000
(13:40 +0300)
gst/isomp4/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/gstqtmux.c
b/gst/isomp4/gstqtmux.c
index
6e45351
..
4733bb6
100644
(file)
--- a/
gst/isomp4/gstqtmux.c
+++ b/
gst/isomp4/gstqtmux.c
@@
-2500,8
+2500,9
@@
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 256 bytes even if we use less */
- return 256;
+ /* We're cheating a bit by always allocating 256 bytes plus 8 bytes for the atom header
+ * even if we use less */
+ return 256 + 8;
case FOURCC_sowt:
case FOURCC_twos:{
guint64 block_idx;