diff options
| author | Ariel Manzur | 2015-12-26 15:38:39 -0300 |
|---|---|---|
| committer | Ariel Manzur | 2015-12-26 15:39:49 -0300 |
| commit | 6387a8e01f6cd2f2417d030c0874600cba0b3a88 (patch) | |
| tree | 0e87b9a0ad8302da56d8c059f826de737738a69e /scene/gui/video_player.cpp | |
| parent | bf6ba2df46876f6a10a328f72aa6a467a5755722 (diff) | |
| download | godot-6387a8e01f6cd2f2417d030c0874600cba0b3a88.tar.gz godot-6387a8e01f6cd2f2417d030c0874600cba0b3a88.tar.zst godot-6387a8e01f6cd2f2417d030c0874600cba0b3a88.zip | |
fixes crash/deadlock when video is paused and unpaused, might affect audio sync tho
Diffstat (limited to '')
| -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 58683a07a..5db809a61 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 { |
