mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +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 */
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue