Changed: Wrong isEnded state for streaming file when still in waiting state.
--HG-- branch : develop
This commit is contained in:
parent
e1be4260d5
commit
32109c7197
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ void CStreamFileSource::run()
|
|||
m_AudioDecoder = NULL;
|
||||
// _Playing cannot be used to detect play state because its required in cleanup
|
||||
// Using m_AudioDecoder in isEnded() may result race condition (decoder is only created after thread is started)
|
||||
m_DecodingEnded = true;
|
||||
m_DecodingEnded = !m_WaitingForPlay;
|
||||
}
|
||||
// drop buffers
|
||||
m_FreeBuffers = 3;
|
||||
|
|
Loading…
Reference in a new issue