mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
omxaudioenc: Fix deadlock in error case when draining
https://bugzilla.gnome.org/show_bug.cgi?id=784967
This commit is contained in:
parent
4488ab97af
commit
9db720f13e
1 changed files with 1 additions and 0 deletions
|
@ -1154,6 +1154,7 @@ gst_omx_audio_enc_drain (GstOMXAudioEnc * self)
|
|||
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_AUDIO_ENCODER_STREAM_LOCK (self);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue