Commit b6cce8c8 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: fix signal/lock order

parent 792c362e
......@@ -62,8 +62,8 @@ void Downloader::schedule(HTTPChunkBufferedSource *source)
{
vlc_mutex_lock(&lock);
chunks.push_back(source);
vlc_mutex_unlock(&lock);
vlc_cond_signal(&waitcond);
vlc_mutex_unlock(&lock);
}
void Downloader::cancel(HTTPChunkBufferedSource *source)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment