Page 1 of 1

vlc crash in lock screen

Posted: 06 Oct 2014 04:16
by K-Fung
The player crash in lock screen.
It already check isAppActive, however, it still crash.
It is normal when you press the home button. Please help


if (likely([sys->glESView isAppActive]))
vout_display_opengl_Display(sys->vgl, &vd->source);

Re: vlc crash in lock screen

Posted: 13 Oct 2014 19:31
by fkuehne
This is not enough. You need to disable video decoding when the app is going to the background.

Re: vlc crash in lock screen

Posted: 14 Oct 2014 08:30
by K-Fung
Hi Felix,
Any hins to disable video decoding?

How about I want to playing the audio in the lock screen status?

Re: vlc crash in lock screen

Posted: 15 Oct 2014 21:30
by fkuehne
Check our code used in the VLC for iOS app. This part is quite well documented. You can disable video decoding while audio continues to play.

Re: vlc crash in lock screen

Posted: 25 Jun 2015 09:16
by aguirrelight
Hi Felix,

Can you be a little more specific in what needs to be done in. how to disable video decoding?
And what do you mean by.. Check our code used in the VLC for iOS app .... i tried looking for a manual, a code, did not find anything....

Thanks in advance,
Roger.