Merge pull request #24921 from KidRigger/pr-fix

Fixed infinite loop at end of video.
This commit is contained in:
Rémi Verschelde 2019-01-11 20:40:47 +01:00 committed by GitHub
commit b50f792a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ void VideoStreamPlaybackGDNative::update(float p_delta) {
}
}
while (interface->get_playback_position(data_struct) < time) {
while (interface->get_playback_position(data_struct) < time && playing) {
update_texture();
}