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:
parent
bbfd76e94e
commit
8a3075fbae
@ -2500,8 +2500,8 @@ 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 100bytes even if we use less */
|
/* We're cheating a bit by always allocating 256 bytes even if we use less */
|
||||||
return 100;
|
return 256;
|
||||||
case FOURCC_sowt:
|
case FOURCC_sowt:
|
||||||
case FOURCC_twos:{
|
case FOURCC_twos:{
|
||||||
guint64 block_idx;
|
guint64 block_idx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user