summaryrefslogtreecommitdiff
path: root/ext/aalib/gstaasink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/aalib/gstaasink.c')
-rw-r--r--ext/aalib/gstaasink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c
index 06d3199..2909dde 100644
--- a/ext/aalib/gstaasink.c
+++ b/ext/aalib/gstaasink.c
@@ -190,8 +190,8 @@ gst_aasink_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 (&sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &sink_template);
gst_element_class_set_details_simple (element_class, "ASCII art video sink",
"Sink/Video",
"An ASCII art videosink", "Wim Taymans <wim.taymans@chello.be>");