From 6387a8e01f6cd2f2417d030c0874600cba0b3a88 Mon Sep 17 00:00:00 2001 From: Ariel Manzur Date: Sat, 26 Dec 2015 15:38:39 -0300 Subject: fixes crash/deadlock when video is paused and unpaused, might affect audio sync tho --- scene/gui/video_player.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui/video_player.cpp') 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 { -- cgit v1.2.3