[vlc-devel] [vlc-commits] live555 check stream_DemuxNew succeeded

Rémi Denis-Courmont remi at remlab.net
Thu Apr 7 14:36:09 CEST 2011

On Thu, 07 Apr 2011 13:46:41 +0200, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> On Thu, 2011-04-07 at 13:25 +0200, Sébastien Escudier wrote:
>> live555 check stream_DemuxNew succeeded
> There is another case I don't know how to handle, and I think this
> problem can happen in other modules too.


> What if stream_DemuxNew succeed (the demux thread is launched), but the
> demuxer can't be created (not found for example).

The simplest solution is to just trash all packets. Unfortunately,
stream_DemuxNew() cannot wait for demux_New() to complete. This would
trivially deadlock if the demuxer wants to read data from its activation
callback ("Open").

Rémi Denis-Courmont

More information about the vlc-devel mailing list