[vlc-devel] mjpeg demux and infinite wait.

Sébastien Escudier sebastien-devel at celeos.eu
Mon Jan 19 17:34:59 CET 2009


Quoting Rémi Denis-Courmont <rem at videolan.org>:

> poll() on a shutdown socket should return POLLHUP and POLLIN immediately, so
> I
> don't understand how VLC could get stuck in poll() in that case. If it
> actually does get stuck, then that'd point at a bug in the TCP/IP stack. But
> this is so unlikely that I'll assume I don't understand what you mean.
>
> Or maybe VLC fails to detect the end of TCP stream and busy loops?

In my case there is no "clean" socket shutdown. I can reproduce by unpluging my
network cable. I expected vlc to close that stream after a while, but even
after 10 minutes nothing happened.




More information about the vlc-devel mailing list