Merge pull request #15910 from robfram/fix-audio-signal-issue-15895

Fix issue #15895, audio streams don't signalling finished after the first one
This commit is contained in:
Rémi Verschelde 2018-02-01 16:54:31 +01:00 committed by GitHub
commit 4cb64feae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,8 +126,8 @@ void AudioStreamPlayer::_notification(int p_what) {
if (!active || (setseek < 0 && !stream_playback->is_playing())) {
active = false;
emit_signal("finished");
set_process_internal(false);
emit_signal("finished");
}
}