[Gstreamer-openmax] [PATCH] basefilter: release ready_lock when core_prepare fails
René Stadler
mail at renestadler.de
Thu Mar 26 17:14:20 PDT 2009
Signed-off-by: René Stadler <mail at renestadler.de>
---
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);
--
1.5.6.3
More information about the Gstreamer-openmax
mailing list