summaryrefslogtreecommitdiff
path: root/gst/debugutils/gstcapsdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debugutils/gstcapsdebug.c')
-rw-r--r--gst/debugutils/gstcapsdebug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/debugutils/gstcapsdebug.c b/gst/debugutils/gstcapsdebug.c
index dcb0996..6bdc109 100644
--- a/gst/debugutils/gstcapsdebug.c
+++ b/gst/debugutils/gstcapsdebug.c
@@ -73,10 +73,10 @@ gst_caps_debug_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_caps_debug_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_caps_debug_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_caps_debug_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_caps_debug_sink_template);
gst_element_class_set_details_simple (element_class, "Caps debug",
"Generic", "Debug caps negotiation", "David Schleef <ds@schleef.org>");