From: <fe...@ke...> - 2009-03-27 09:59:30
|
Module: gst-openmax Branch: master Commit: a8c408c740ca324a4affe0dd998dea6dc24d1efd URL: http://cgit.freedesktop.org/gstreamer/gst-openmax/commit/?id=a8c408c740ca324a4affe0dd998dea6dc24d1efd Author: René Stadler <ma...@re...> Date: Fri Mar 27 02:14:20 2009 +0200 basefilter: release ready_lock when core_prepare fails Signed-off-by: René Stadler <ma...@re...> Signed-off-by: Felipe Contreras <fel...@gm...> --- omx/gstomx_base_filter.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/omx/gstomx_base_filter.c b/omx/gstomx_base_filter.c index 3679916..2da5eff 100644 --- a/omx/gstomx_base_filter.c +++ b/omx/gstomx_base_filter.c @@ -540,7 +540,10 @@ pad_chain (GstPad *pad, setup_ports (self); if (!g_omx_core_prepare (self->gomx)) + { + g_mutex_unlock (self->ready_lock); goto fail_omx_state; + } self->ready = TRUE; gst_pad_start_task (self->srcpad, output_loop, self->srcpad); |