[vlc-devel] Getting stuck in stream_Read()

Frederic YHUEL fyhuel at viotech.net
Fri Mar 30 11:29:15 CEST 2012


2012/3/29 Rémi Denis-Courmont <remi at remlab.net>:
> On Thu, 29 Mar 2012 15:05:43 +0200, Frederic YHUEL <fyhuel at viotech.net>
> wrote:
>> If this is a bug, I can try to solve it. If not, what can I do to
>> solve this problem?
>
> What makes you think it is NOT a bug?
>

Actually it gets stuck in net_Read(), and more precisely inside the
call to poll().

Since net_Read() calls poll() with no timeout, I'm not sure it is a
bug. But I have a really poor understanding of that stuff.

Is it possible to blame the server? In that case, would it be possible
to have a timeout mechanism, like a net_Read flavour which calls
poll() with a timeout? (and the associated stream_Read variant?)

If it is a bug in the polling / socket stuff, I can try to fix it, but
it will take time...

Thanks for your help,

-- 
Frédéric



More information about the vlc-devel mailing list