1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00

mux: mp4: alloc late tracks in non fragmented mode

As we have proper edit list support, we can allow late streams.
Should solve issues with user doing transcoding without tuning
sout-mux-caching
This commit is contained in:
Francois Cartegnie 2019-10-21 15:54:53 +02:00
parent fd52f2c265
commit ab56eb1642

View File

@ -443,7 +443,7 @@ static int Control(sout_mux_t *p_mux, int i_query, va_list args)
{
case MUX_CAN_ADD_STREAM_WHILE_MUXING:
pb_bool = va_arg(args, bool *);
*pb_bool = false;
*pb_bool = (p_mux->pf_mux == Mux);
return VLC_SUCCESS;
case MUX_GET_ADD_STREAM_WAIT: