JVLC Hang

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
davidhoyt
Blank Cone
Blank Cone
Posts: 68
Joined: 02 May 2008 03:26

JVLC Hang

Postby davidhoyt » 10 Oct 2008 00:09

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!

davidhoyt
Blank Cone
Blank Cone
Posts: 68
Joined: 02 May 2008 03:26

Re: JVLC Hang

Postby davidhoyt » 10 Oct 2008 18:19

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.

davidhoyt
Blank Cone
Blank Cone
Posts: 68
Joined: 02 May 2008 03:26

Re: JVLC Hang

Postby davidhoyt » 10 Oct 2008 19:13

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests