mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
utils: avoid extra hop in gst_element_link
No need to call gst_element_link_pads_filtered with filter=NULL, which would call gst_element_link_pads() in that way. Call it directly to save a call and expensive gobject type checks.
This commit is contained in:
parent
5a12d1efa5
commit
5fa9d942e3
1 changed files with 1 additions and 1 deletions
|
@ -1900,7 +1900,7 @@ gst_element_link_pads_filtered (GstElement * src, const gchar * srcpadname,
|
|||
gboolean
|
||||
gst_element_link (GstElement * src, GstElement * dest)
|
||||
{
|
||||
return gst_element_link_pads_filtered (src, NULL, dest, NULL, NULL);
|
||||
return gst_element_link_pads (src, NULL, dest, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue