diff options
Diffstat (limited to 'ext/theora/gsttheoraenc.c')
-rw-r--r-- | ext/theora/gsttheoraenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index 0d3236059..99f8c0a04 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -284,10 +284,10 @@ gst_theora_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 (&theora_enc_src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&theora_enc_sink_factory)); + gst_element_class_add_static_pad_template (element_class, + &theora_enc_src_factory); + gst_element_class_add_static_pad_template (element_class, + &theora_enc_sink_factory); gst_element_class_set_details_simple (element_class, "Theora video encoder", "Codec/Encoder/Video", "encode raw YUV video to a theora stream", |