[vlc-devel] [PATCH 4/8] sout_access/core: handle drain

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


Le maanantaina 29. tammikuuta 2018, 19.25.52 EET Thomas Guillem a écrit :
> Just 2 modules didn't handle the buffer NULL case.

I don't think that an access output should care about draining vs flushing. 
The access output is roughly the VLC equivalent of a file handle opened for  
writing. It should always "drain", never "flush".

In fact, even if the user pressed stop or exit buttons, the pipeline should 
still mux and write whatever was already queued to the stream output.

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



More information about the vlc-devel mailing list