mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
omxvideodec: add missing unlock in the error path
Signed-off-by: Christian König <christian.koenig@amd.com> https://bugzilla.gnome.org/show_bug.cgi?id=726958
This commit is contained in:
parent
c832b03b3b
commit
651e67e32d
1 changed files with 1 additions and 0 deletions
|
@ -2339,6 +2339,7 @@ gst_omx_video_dec_drain (GstOMXVideoDec * self, gboolean is_eos)
|
|||
if (err != OMX_ErrorNone) {
|
||||
GST_ERROR_OBJECT (self, "Failed to drain component: %s (0x%08x)",
|
||||
gst_omx_error_to_string (err), err);
|
||||
g_mutex_unlock (&self->drain_lock);
|
||||
GST_VIDEO_DECODER_STREAM_LOCK (self);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue