utils: avoid extra hop in gst_element_link
authorStefan Kost <ensonic@users.sf.net>
Sun, 10 Jan 2010 19:40:24 +0000 (21:40 +0200)
committerStefan Kost <ensonic@users.sf.net>
Sun, 10 Jan 2010 19:44:34 +0000 (21:44 +0200)
commit5fa9d942e3e672c07980d31b903b3bac491447c9
tree6419520830f9b11436a619eff79c99aefbf0cc70
parent5a12d1efa5fe49b560a846b5418ae4c777172cbe
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.
gst/gstutils.c