summaryrefslogtreecommitdiffstats
path: root/sys/dxr3
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3')
-rw-r--r--sys/dxr3/dxr3spusink.c4
-rw-r--r--sys/dxr3/dxr3videosink.c4
2 files changed, 2 insertions, 6 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);
diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c
index 39a8e24e..475cfbdd 100644
--- a/sys/dxr3/dxr3videosink.c
+++ b/sys/dxr3/dxr3videosink.c
@@ -198,9 +198,7 @@ dxr3videosink_init (Dxr3VideoSink * sink)
{
GstPad *pad;
- pad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&dxr3videosink_sink_factory), "sink");
+ pad = gst_pad_new_from_static_template (&dxr3videosink_sink_factory, "sink");
gst_element_add_pad (GST_ELEMENT (sink), pad);
gst_pad_set_chain_function (pad, dxr3videosink_chain);