mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Make VideoStream::isPlaying return false when EOS has been reached
Before it would return the playing status of the FrameSync, but a DeltaSync doesn't stop at the end of the video, now it returns the least of the FrameSync and the EOS condition
This commit is contained in:
@@ -52,12 +52,12 @@ void VideoStream::seek(double offset)
|
||||
frameSync->seek(offset);
|
||||
}
|
||||
|
||||
double VideoStream::tell()
|
||||
double VideoStream::tell() const
|
||||
{
|
||||
return frameSync->tell();
|
||||
}
|
||||
|
||||
bool VideoStream::isPlaying()
|
||||
bool VideoStream::isPlaying() const
|
||||
{
|
||||
return frameSync->isPlaying();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user