summaryrefslogtreecommitdiff
path: root/sys/vdpau/mpeg/gstvdpmpegdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/mpeg/gstvdpmpegdec.c')
-rw-r--r--sys/vdpau/mpeg/gstvdpmpegdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c
index 3de0eec65..6a473e48e 100644
--- a/sys/vdpau/mpeg/gstvdpmpegdec.c
+++ b/sys/vdpau/mpeg/gstvdpmpegdec.c
@@ -624,8 +624,8 @@ gst_vdp_mpeg_dec_base_init (gpointer gclass)
"Decode mpeg stream with vdpau",
"Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>");
- 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);
}
/* initialize the vdpaumpegdecoder's class */