Commit fb343ccb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

picture_pool: fix picture_pool_Cancel() with multiple threads

parent 1ef87d32
......@@ -283,7 +283,7 @@ void picture_pool_Cancel(picture_pool_t *pool)
assert(pool->refs > 0);
pool->canceled = true;
vlc_cond_signal(&pool->wait);
vlc_cond_broadcast(&pool->wait);
vlc_mutex_unlock(&pool->lock);
}
......
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