Merge pull request #24921 from KidRigger/pr-fix
Fixed infinite loop at end of video.
This commit is contained in:
commit
b50f792a65
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue