Page 1 of 1

Process Stuck during stopping Media player

Posted: 20 Feb 2013 14:48
by Won
Hello VLC Developers.

I really have a big problem about my project that contains VLCMedia Library.
The process is stuck sometimes during stopping Media player. It is not always stuck, but very oftenly. I got read some posts with similar problem in this forum, but I still don't get it how to fix this. I am a biginner of this. I really need your helps.
I am gladly appreciated for Any hand and comment. Please help me out to get rid of this problem.

Won.

P. S. My development environment is quite good. VS2010 on a workstation consisted 48GB RAM, Twin Hexa core CPU, and so on. If it is stuck by resource problem, please let me know how to force the memory allocation of VLC increased.

Re: Process Stuck during stopping Media player

Posted: 20 Feb 2013 17:46
by RĂ©mi Denis-Courmont
This is likely either a deadlock with your application callbacks or your window messages pump.

Re: Process Stuck during stopping Media player

Posted: 21 Feb 2013 01:27
by Won
This is likely either a deadlock with your application callbacks or your window messages pump.
Thank you very much about your advice. You meant the media player crashed to other threads, such as user-create-threads or MFC threads, didn't you?

I am also suspicious the cause, but I am still confused. Coz, the deadlock is occured on the method named <libvlc_media_player_stop> or other methods that have similar functionality with this method.

Is it possible the method could be deadlocked by other threads? If it could be, I should look into other parts.

Re: Process Stuck during stopping Media player

Posted: 22 Feb 2013 18:28
by mangokm40
Did you already search the forum? There's a few threads on this.

Here's one:
viewtopic.php?f=32&t=106415&p=360488&hi ... op#p360488

Re: Process Stuck during stopping Media player [solved]

Posted: 23 Feb 2013 14:20
by Won
Did you already search the forum? There's a few threads on this.

Here's one:
viewtopic.php?f=32&t=106415&p=360488&hi ... op#p360488
Thanks for your advice. It actually helps me and also below discussion.
I solved the problem with creating new thread for stopping vlcplayer. If there are anyone has a similar problem with me, can figure out with above two discussions.

I AM Always grateful to all developers.

Won.