[vlc-devel] [PATCH] - Added input resource support to LibVLC Media Player

Niles Bindel zaggal69 at gmail.com
Tue Aug 25 05:17:07 CEST 2009

> If I recall well, you should be able to change that to an
assert(p_input_thread->b_dead)>, because after vlc_thread_join(input) you
should always be dead.

Unfortunately, the thread join happens after the input_DetachResource which
requires p_input_thread->b_dead to be true, so as far as I can see we need
to sleep unless I'm missing something. Also, I initially tried it without
the sleep and it didn't work right for me.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090824/482f57c7/attachment.html>

More information about the vlc-devel mailing list