diff --git a/gst/timecode/gstavwait.c b/gst/timecode/gstavwait.c index 8e122c1113..780ee80dfe 100644 --- a/gst/timecode/gstavwait.c +++ b/gst/timecode/gstavwait.c @@ -666,6 +666,7 @@ gst_avwait_asink_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf) if (self->audio_flush_flag || self->shutdown_flag) { GST_DEBUG_OBJECT (self, "Shutting down, ignoring frame"); gst_buffer_unref (inbuf); + g_mutex_unlock (&self->mutex); return GST_FLOW_FLUSHING; } duration =