summaryrefslogtreecommitdiffstats
path: root/sys/dxr3/dxr3spusink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3/dxr3spusink.c')
-rw-r--r--sys/dxr3/dxr3spusink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index 1a9cde66..0b220f8c 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -201,9 +201,7 @@ dxr3spusink_init (Dxr3SpuSink * sink)
{
GstPad *pad;
- pad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&dxr3spusink_sink_factory), "sink");
+ pad = gst_pad_new_from_static_template (&dxr3spusink_sink_factory, "sink");
gst_element_add_pad (GST_ELEMENT (sink), pad);
gst_pad_set_chain_function (pad, dxr3spusink_chain);