Postby avsuper » 06 Jan 2019 03:32
Hi, Rémi, thanks for reply!
You mean the deadlock is because application? But we have tried many methods, even if the application has only several lines of code, the deadlock still exists...
For example, I used a timer to call libvlc_media_player_stop and then call libvlc_media_player_play to play another media, the application ofter hangs up at "stop", especially if I switch between this application and other applications. And I have also tried to use thread instead of timer to call stop/play, no other codes at all, this problem occur also. Maybe every 10 to 20 times of call will cause a deaklock. I really don't know how to modify the application.
I have searched this forum using keyword "libvlc_media_player_stop" and can see several post about this problem but it seemed no one solved it totally...
Please give a help about how to avoid the deadlock.Thanks a lot!!!