summaryrefslogtreecommitdiff
path: root/ext/annodex/gstcmmlenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/annodex/gstcmmlenc.c')
-rw-r--r--ext/annodex/gstcmmlenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/annodex/gstcmmlenc.c b/ext/annodex/gstcmmlenc.c
index a3255dc..7bdfc1e 100644
--- a/ext/annodex/gstcmmlenc.c
+++ b/ext/annodex/gstcmmlenc.c
@@ -108,10 +108,10 @@ gst_cmml_enc_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_cmml_enc_sink_factory));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_cmml_enc_src_factory));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_cmml_enc_sink_factory);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_cmml_enc_src_factory);
gst_element_class_set_details_simple (element_class, "CMML streams encoder",
"Codec/Encoder",
"Encodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");