diff options
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | 2014-06-02 15:34:09 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-02 19:28:51 +0200 |
commit | 3ed713db0d947a876b2c3988a6b30609871ecf9d (patch) | |
tree | f5eac14feec42983a5f44b11f07fd9ad2510e98c | |
parent | 190adce12595f9596f3666fb4e7d25fb363ed289 (diff) | |
download | gst-omx-3ed713db0d947a876b2c3988a6b30609871ecf9d.tar.gz |
omxvideodec: add missing stream unlock in error path
-rw-r--r-- | omx/gstomxvideodec.c | 1 |
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; } |