Commit a710fbc1 authored by Marc Leeman's avatar Marc Leeman
Browse files

rtpmanagerbad: reduce lock in rtpsink

parent 61b062a1
......@@ -251,11 +251,11 @@ gst_rtp_sink_request_new_pad (GstElement * element,
return NULL;
GST_RTP_SINK_LOCK (self);
pad = gst_element_get_request_pad (self->rtpbin, "send_rtp_sink_%u");
GST_RTP_SINK_UNLOCK (self);
g_return_val_if_fail (pad != NULL, NULL);
GST_RTP_SINK_UNLOCK (self);
return pad;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment