Fix T37293: trying to fix scrubbing not stopping playback

This commit is contained in:
Jörg Müller
2014-03-10 12:30:50 +01:00
parent fe094eaf20
commit b977cfd28b

View File

@@ -994,7 +994,7 @@ void AUD_OpenALDevice::updateStreams()
if(info != AL_PLAYING) if(info != AL_PLAYING)
{ {
// if it really stopped // if it really stopped
if(sound->m_eos) if(sound->m_eos && info != AL_INITIAL)
{ {
if(sound->m_stop) if(sound->m_stop)
sound->m_stop(sound->m_stop_data); sound->m_stop(sound->m_stop_data);