element: add gst_element_class_add_static_pad_template()
authorTim-Philipp Müller <tim@centricular.com>
Sat, 27 Feb 2016 15:28:49 +0000 (15:28 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 28 Feb 2016 13:10:03 +0000 (13:10 +0000)
commitfa12d23a17dbd16d4df552da1ca016c53fa038fb
treea2e3246fe2daec617952a6df1af85563f57ad3e7
parent94ec3f8a3e2919676576059983fa74e4c4047311
element: add gst_element_class_add_static_pad_template()

Pretty much every single element does

  gst_element_class_add_pad_template (element_class,
      gst_static_pad_template_get (&some_templ));

which is both confusing and unnecessary. We might just
as well add a function to do that in one step.

https://bugzilla.gnome.org/show_bug.cgi?id=762778
docs/gst/gstreamer-sections.txt
gst/gstelement.c
gst/gstelement.h
win32/common/libgstreamer.def