Fix playing of video Theora files

This commit is contained in:
Bernat Arlandis
2025-01-23 10:02:17 +01:00
parent b0655dc86f
commit f2475326a4
4 changed files with 81 additions and 214 deletions

View File

@ -158,6 +158,7 @@ void VideoStreamPlayer::_notification(int p_notification) {
playback->update(delta); // playback->is_playing() returns false in the last video frame
if (!playback->is_playing()) {
resampler.flush();
if (loop) {
play();
return;