[vlc-devel] [RFC #2] Empty packetizer buffers when decoder ends

Laurent Aimar fenrir at elivagar.org
Tue Jul 19 11:03:36 CEST 2011


Hi,

On Mon, Jul 18, 2011 at 10:16:37PM -0400, Rafaël Carré wrote:
> This time the demuxer uses es_out_Send(...., NULL) on EOF.
> When es_out.c/EsOutSend() sees a NULL block it creates an empty block with
> private flag BLOCK_FLAG_EOS which is sent to the decoder thread.
 I think that calling a special es_out_* function from src/input/input.c
would be simpler (ie avoid to add a call to every demuxer) and would avoid
hacking es_out_Send() to pass NULL block.

-- 
fenrir



More information about the vlc-devel mailing list