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; }