You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
-fixes to theora video ending sooner than expected, fixes #3066
This commit is contained in:
@@ -117,8 +117,9 @@ void VideoPlayer::_notification(int p_notification) {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
//set_idle_process(false); //don't annoy
|
||||
if (stream.is_valid() && autoplay && !get_tree()->is_editor_hint())
|
||||
if (stream.is_valid() && autoplay && !get_tree()->is_editor_hint()) {
|
||||
play();
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_PROCESS: {
|
||||
|
||||
Reference in New Issue
Block a user