omxvideodec: add missing stream unlock in error path

This commit is contained in:
Aurélien Zanelli 2014-06-02 15:34:09 +02:00 committed by Sebastian Dröge
parent 190adce125
commit 3ed713db0d

View file

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