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
@ -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…
x
Reference in New Issue
Block a user