Page 1 of 1

JVLC Hang

Posted: 10 Oct 2008 00:09
by davidhoyt
So I allllmost have a working implementation...

But libvlc_media_player_stop() hangs sometimes. I double-checked and where it's hanging is in the JNA call to it (Function.invokeVoid()). Is there any special threading issue with JNA calls that we should be aware of? Or anything with the libvlc_media_player_ functions?

I've also had it hang on libvlc_media_player_release() and libvlc_media_release().

I'm running it with 12 panels in one process.

Thanks for any help!

Re: JVLC Hang

Posted: 10 Oct 2008 18:19
by davidhoyt
Can someone confirm that you have to start playing from a different thread than the one used to stop/pause/etc.? I noticed it doesn't hang when I call play from another thread.

Re: JVLC Hang

Posted: 10 Oct 2008 19:13
by davidhoyt
Nevermind that. It still hangs...anyone have a clue what's going on? I think it's attempting to get a lock on something that's never released it.