Commit 2dee0f7a authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

thumbnailer: signal locked

parent 4ad9af98
Pipeline #305486 passed with stage
in 25 minutes and 35 seconds
......@@ -173,9 +173,8 @@ on_thumbnailer_input_event( input_thread_t *input,
if (event->type == INPUT_EVENT_THUMBNAIL_READY)
task->pic = picture_Hold(event->thumbnail);
vlc_mutex_unlock(&task->lock);
vlc_cond_signal(&task->cond_ended);
vlc_mutex_unlock(&task->lock);
}
static void
......@@ -254,8 +253,8 @@ Interrupt(task_t *task)
/* Wake up RunnableRun() which will call input_Stop() */
vlc_mutex_lock(&task->lock);
task->status = INTERRUPTED;
vlc_mutex_unlock(&task->lock);
vlc_cond_signal(&task->cond_ended);
vlc_mutex_unlock(&task->lock);
}
static task_t *
......
Supports Markdown
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