summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdpsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/gstvdpsink.c')
-rw-r--r--sys/vdpau/gstvdpsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpsink.c b/sys/vdpau/gstvdpsink.c
index 27847bd18..5a5677eb4 100644
--- a/sys/vdpau/gstvdpsink.c
+++ b/sys/vdpau/gstvdpsink.c
@@ -1387,8 +1387,8 @@ gst_vdp_sink_base_init (gpointer g_class)
"Sink/Video",
"VDPAU Sink", "Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>");
- gst_element_class_add_static_pad_template (element_class,
- &sink_template);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&sink_template));
}
static void