[vlc-devel] [PATCH 3/3] stream_demux: add stream_DemuxGetStatus

Francois Cartegnie fcvlcdev at free.fr
Mon Sep 14 15:55:50 CEST 2015

Le 14/09/2015 15:46, Rémi Denis-Courmont a écrit :
>> Owner passes data to stream_Demux, and its demux returns whenever,
>> whatever it wants.
> So what?
> 1) The owner already knows when the stream reaches EOF, by definition.

Owner's stream EOF does not mean stream_Demux demuxer EOF.
Demux still have to drain stream_Demux fifo, and its own internal buffers.

> 2) The owner can not wait for the demux to finish, which may be an
> issue. But the patch does not address it.

It can't wait, but it can't also delete it before job is done.
(which currently only doesn't happen with > 1 block streams because
playback time takes longer than demux)


More information about the vlc-devel mailing list