[Bf-blender-cvs] [ef25cb5] : Fix T37293: trying to fix scrubbing not stopping playback

Jörg Müller noreply at git.blender.org
Wed Mar 12 18:22:33 CET 2014


Commit: ef25cb5b3eb885eab68abafe34bfc485b0ddca86
Author: Jörg Müller
Date:   Mon Mar 10 12:30:50 2014 +0100
https://developer.blender.org/rBef25cb5b3eb885eab68abafe34bfc485b0ddca86

Fix T37293: trying to fix scrubbing not stopping playback

===================================================================

M	intern/audaspace/OpenAL/AUD_OpenALDevice.cpp

===================================================================

diff --git a/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp b/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
index c3877c2..d055c13 100644
--- a/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
+++ b/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
@@ -994,7 +994,7 @@ void AUD_OpenALDevice::updateStreams()
 				if(info != AL_PLAYING)
 				{
 					// if it really stopped
-					if(sound->m_eos)
+					if(sound->m_eos && info != AL_INITIAL)
 					{
 						if(sound->m_stop)
 							sound->m_stop(sound->m_stop_data);




More information about the Bf-blender-cvs mailing list