Page 1 of 1

libvlc_media_player_set_time never returns

Posted: 13 Feb 2018 19:06
by thomashenry
I'm having problems with apparent deadlock when calling

libvlc_media_player_set_time

Sometimes, with no pattern that I can see, calls to this function never return. My application is a single thread Windows desktop app, and all calls to VLC are made from the single UI thread. Any callbacks from VLC are dealt with on the UI thread via PostMessage.

Are there certain states that the player can be in, for which libvlc_media_player_set_time is not safe to call?

Re: libvlc_media_player_set_time never returns

Posted: 13 Feb 2018 19:38
by RĂ©mi Denis-Courmont
No, it should work (or fail), not lock up.

Check thread stack trace and logs.