summaryrefslogtreecommitdiff
path: root/gst/nuvdemux/gstnuvdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/nuvdemux/gstnuvdemux.c')
-rw-r--r--gst/nuvdemux/gstnuvdemux.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c
index 3401c8157..86418f069 100644
--- a/gst/nuvdemux/gstnuvdemux.c
+++ b/gst/nuvdemux/gstnuvdemux.c
@@ -124,14 +124,14 @@ gst_nuv_demux_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&audio_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &audio_src_template);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&video_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &video_src_template);
- 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, "Nuv demuxer",
"Codec/Demuxer",
"Demultiplex a MythTV NuppleVideo .nuv file into audio and video",