[vlc-devel] [PATCH 1/2] stream: add stream_DemuxAlive
fcvlcdev at free.fr
Sat Dec 27 19:52:53 CET 2014
Le 27/12/2014 18:28, Rémi Denis-Courmont a écrit :
> Le 2014-12-27 19:26, Francois Cartegnie a écrit :
>> We had no way to know if the demux failed at some point or
>> has reached EOF.
> You have no way to distinguish those two cases with this patch either.
> On top of that, this makes shutting down the stream demux racy.
We don't need to differentiate. We just need to know when to stop
feeding it/expecting es_out_*().
I don't really see as that doesn't change stream_DemuxDelete and only
the thread was reading that flag.
More information about the vlc-devel