[vlc-devel] [PATCH 2/8] sout_mux/core: handle drain

Rémi Denis-Courmont remi at remlab.net
Tue Jan 30 17:23:04 CET 2018

Le maanantaina 29. tammikuuta 2018, 19.25.50 EET Thomas Guillem a écrit :
> Like for decoder_t, a drain is requested when sending/writing a NULL block.
> Muxers should drain themselves when they receive the last pf_delstream
> callback (call the new sout_MuxIsDrained() helper to know when it happens).

No. Muxers should drain when they are destroyed.

For muxers with fixed ES set, this makes no difference:they should ignore 
delstream, and this patch should be totally useless.

But for muxers with variable ES set, this patch seems plain wrong.


More information about the vlc-devel mailing list