diff options
Diffstat (limited to 'gst/debugutils/rndbuffersize.c')
-rw-r--r-- | gst/debugutils/rndbuffersize.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/debugutils/rndbuffersize.c b/gst/debugutils/rndbuffersize.c index a9ed67f..e6ddd1f 100644 --- a/gst/debugutils/rndbuffersize.c +++ b/gst/debugutils/rndbuffersize.c @@ -106,14 +106,14 @@ gst_rnd_buffer_size_base_init (gpointer g_class) { GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&sink_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&src_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &sink_template); + gst_element_class_add_static_pad_template (gstelement_class, + &src_template); gst_element_class_set_details_simple (gstelement_class, "Random buffer size", "Testing", "pull random sized buffers", - "Stefan Kost <stefan.kost@nokia.com>)"); + "Stefan Kost <stefan.kost@nokia.com>"); } |