Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deadlock at the end of decoding. (#3767)
For some h264 files, h264dec hangs at the end of decoding. This is regression caused by the commit 1c23887. This patch fixes the issue by adding SET_EVENT(&m_sReleaseBufferEvent) to SetOption( DECODER_OPTION_END_OF_STREAM) and CloseDecoderThreads().
- Loading branch information