rtpmanagerbad: reduce lock in rtpsink
This commit is contained in:
parent
61b062a12e
commit
a710fbc12b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user