mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue