summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Zanelli <aurelien.zanelli@parrot.com>2014-06-02 15:34:09 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-02 19:28:51 +0200
commit3ed713db0d947a876b2c3988a6b30609871ecf9d (patch)
treef5eac14feec42983a5f44b11f07fd9ad2510e98c
parent190adce12595f9596f3666fb4e7d25fb363ed289 (diff)
downloadgst-omx-3ed713db0d947a876b2c3988a6b30609871ecf9d.tar.gz
omxvideodec: add missing stream unlock in error path
-rw-r--r--omx/gstomxvideodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 44cb759..207ba88 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;
}