[vlc-devel] [PATCH] es_out: drain decoders on GET_EMPTY

Rémi Denis-Courmont remi at remlab.net
Wed Jun 7 17:51:24 CEST 2017


Le keskiviikkona 7. kesäkuuta 2017, 1.48.41 EEST Francois Cartegnie a écrit :
> Draining the decoders makes sure we do not rely on the
> proper implementation of a block flag, but only on
> draining which is now done for every decoder I think.

I think it´s wholly and obviously inadequate for a "get empty" control to 
drain.

And on the functional side, this sounds like it will block the input thread 
for a potentially long time after demuxer EOS (especially for audio).

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



More information about the vlc-devel mailing list