mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
qtmux: The sample size we have to reserve is 256+8 bytes for the header for CDP packets
This commit is contained in:
parent
8a3075fbae
commit
7a354d0507
1 changed files with 3 additions and 2 deletions
|
@ -2500,8 +2500,9 @@ prefill_get_sample_size (GstQTMux * qtmux, GstQTPad * qpad)
|
||||||
/* We always write both cdat and cdt2 atom in prefill mode */
|
/* We always write both cdat and cdt2 atom in prefill mode */
|
||||||
return 20;
|
return 20;
|
||||||
case FOURCC_c708:
|
case FOURCC_c708:
|
||||||
/* We're cheating a bit by always allocating 256 bytes even if we use less */
|
/* We're cheating a bit by always allocating 256 bytes plus 8 bytes for the atom header
|
||||||
return 256;
|
* even if we use less */
|
||||||
|
return 256 + 8;
|
||||||
case FOURCC_sowt:
|
case FOURCC_sowt:
|
||||||
case FOURCC_twos:{
|
case FOURCC_twos:{
|
||||||
guint64 block_idx;
|
guint64 block_idx;
|
||||||
|
|
Loading…
Reference in a new issue