Page 2 of 2

Re: video:isPlaying() still true after end of play

Posted: Tue Jan 05, 2016 7:00 pm
by crocmiam
I've compiled Löve with your last commit, the issue is still here for me.

Re: video:isPlaying() still true after end of play

Posted: Tue Jan 05, 2016 7:04 pm
by crocmiam
My bad:
- it's fixed if there is sound
- the issue is still here if there is no sound (love.graphics.newVideo("video.ogv", false))

Re: video:isPlaying() still true after end of play

Posted: Tue Jan 05, 2016 8:46 pm
by bartbes
Whoops, that's my bad, I forgot to hook isPlaying up correctly for video that doesn't synchronise to audio. Now it should be fixed, thanks for testing!

Re: video:isPlaying() still true after end of play

Posted: Tue Jan 05, 2016 9:59 pm
by crocmiam
Thanks, it works in both cases now.

@Fenrir: Looping works now :)

Re: video:isPlaying() still true after end of play

Posted: Wed Jan 06, 2016 8:42 am
by Fenrir
crocmiam wrote:Thanks, it works in both cases now.

@Fenrir: Looping works now :)
Yep I confirm it works now, thanks a lot for this quick fix! :)

Re: video:isPlaying() still true after end of play

Posted: Mon Jan 18, 2016 10:33 am
by murks
I still have this issue. Is it fixed in a dev version only?

I also recommend to consider the cases where the audio track is longer or shorter than the video track.
I guess the sanest thing to do is to set isPlaying() to false IFF both audio and video have stopped playing.

EDIT: I'm sorry, it seems to have been an error in my code. Video.isPlaying() works in 0.10.0.

Re: video:isPlaying() still true after end of play

Posted: Mon Jan 18, 2016 12:09 pm
by slime
murks wrote:I still have this issue. Is it fixed in a dev version only?
Yes, a new LÖVE version hasn't been released yet since 0.10.0. You can try out nightly development builds here: https://love2d.org/builds/