[Android] [PATCH] Video : Always pause video if activity has stopped
Alexandre Perraud
4leyx4ndre at gmail.com
Fri Aug 22 18:30:53 CEST 2014
Yosh,
Yes, but It doesn't work : the video is not yet playing when I try to pause
it.
That's why I put it in the MediaPlayerPlaying event. I thought that it was
the right place. Am I wrong ?
Regards
2014-08-22 18:04 GMT+02:00 Edward Wang <edward.c.wang at compdigitec.com>:
> Hi Alex,
>
> On Fri, Aug 22, 2014 at 11:49 AM, Alexandre Perraud
> <4leyx4ndre at gmail.com> wrote:
> > activity.setESTracks();
> > activity.changeAudioFocus(true);
> > activity.updateNavStatus();
> > + if (activity.mHasStopped) {
> > + activity.mHasStopped = false;
> > + activity.pause();
> > + }
>
> Have you considered checking this in startPlayback()?
>
> Regards,
> Edward
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20140822/bcb5f689/attachment.html>
More information about the Android
mailing list