video:isPlaying() still true after end of play
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: video:isPlaying() still true after end of play
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
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))
- it's fixed if there is sound
- the issue is still here if there is no sound (love.graphics.newVideo("video.ogv", false))
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: video:isPlaying() still true after end of play
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
Thanks, it works in both cases now.
@Fenrir: Looping works now
@Fenrir: Looping works now
Re: video:isPlaying() still true after end of play
Yep I confirm it works now, thanks a lot for this quick fix!crocmiam wrote:Thanks, it works in both cases now.
@Fenrir: Looping works now
Re: video:isPlaying() still true after end of play
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.
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.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: video:isPlaying() still true after end of play
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/murks wrote:I still have this issue. Is it fixed in a dev version only?
Who is online
Users browsing this forum: No registered users and 5 guests