summaryrefslogtreecommitdiff
path: root/ext/libmms/gstmms.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libmms/gstmms.c')
-rw-r--r--ext/libmms/gstmms.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index 5e3ff386f..56243a2b1 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -100,8 +100,7 @@ gst_mms_class_init (GstMMSClass * klass)
0, G_MAXINT / 1000, DEFAULT_CONNECTION_SPEED,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&src_factory));
+ gst_element_class_add_static_pad_template (gstelement_class, &src_factory);
gst_element_class_set_static_metadata (gstelement_class,
"MMS streaming source", "Source/Network",