diff options
author | Ariel Manzur <ariel@okamstudio.com> | 2015-12-26 15:38:39 -0300 |
---|---|---|
committer | Ariel Manzur <ariel@okamstudio.com> | 2015-12-26 15:39:49 -0300 |
commit | 6387a8e01f6cd2f2417d030c0874600cba0b3a88 (patch) | |
tree | 0e87b9a0ad8302da56d8c059f826de737738a69e | |
parent | bf6ba2df46876f6a10a328f72aa6a467a5755722 (diff) |
fixes crash/deadlock when video is paused and unpaused, might affect audio sync tho
-rw-r--r-- | scene/gui/video_player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp index 58683a07ad..5db809a618 100644 --- a/scene/gui/video_player.cpp +++ b/scene/gui/video_player.cpp @@ -271,6 +271,7 @@ void VideoPlayer::set_paused(bool p_paused) { playback->set_paused(p_paused); set_process(!p_paused); }; + last_audio_time = 0; }; bool VideoPlayer::is_paused() const { |