udpsink: Unlock on error

This commit is contained in:
Olivier Crête 2012-01-29 18:39:54 +00:00
parent d6cc68a9f7
commit e819b60f27

View file

@ -535,6 +535,7 @@ no_data:
}
send_error:
{
g_mutex_unlock (&sink->client_lock);
GST_DEBUG ("got send error %s", err->message);
g_clear_error (&err);
return GST_FLOW_ERROR;