[vlc-devel] [PATCH 0/8] Add drain support in sout

Rémi Denis-Courmont remi at remlab.net
Mon Jan 29 19:26:17 CET 2018


Le maanantaina 29. tammikuuta 2018, 19.25.48 EET Thomas Guillem a écrit :
> Hello,
> 
> This set of patches modifies the sout_mux/sout_access/sout behavior by
> handling drain when a NULL buffer is sent to pf_write/pf_send callbacks.

IMO, draining only makes sense on single ES. Furthermore, draining is only 
meaningful in contrast to flushing. In stream output, you can assume that an 
ES is being drained when it gets deleted. So there is really no point in 
adding explicit draining, AFAICT.

And then, the generic problem of deadlock muxers can only be fixed by passing 
the PCR to the stream output - which is far more powerful and generic than 
draining.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list