qtmux: Properly allocate 256 bytes per CDP packet in prefill mode

Instead of allowing 256 but only pre-allocating 100.
This commit is contained in:
Sebastian Dröge 2018-08-02 12:27:45 +03:00
parent bbfd76e94e
commit 8a3075fbae

View file

@ -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;