From 3ed713db0d947a876b2c3988a6b30609871ecf9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Zanelli?= Date: Mon, 2 Jun 2014 15:34:09 +0200 Subject: [PATCH] omxvideodec: add missing stream unlock in error path --- omx/gstomxvideodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 44cb759458..207ba8874c 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1139,6 +1139,7 @@ gst_omx_video_dec_reconfigure_output_port (GstOMXVideoDec * self) gst_video_codec_state_unref (state); GST_ERROR_OBJECT (self, "Failed to negotiate"); err = OMX_ErrorUndefined; + GST_VIDEO_DECODER_STREAM_UNLOCK (self); goto done; }