summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflactag.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac/gstflactag.c')
-rw-r--r--ext/flac/gstflactag.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c
index db0fa2a4..247e1dea 100644
--- a/ext/flac/gstflactag.c
+++ b/ext/flac/gstflactag.c
@@ -243,15 +243,13 @@ gst_flac_tag_init (GstFlacTag * tag)
{
/* create the sink and src pads */
tag->sinkpad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&flac_tag_sink_template), "sink");
+ gst_pad_new_from_static_template (&flac_tag_sink_template, "sink");
gst_element_add_pad (GST_ELEMENT (tag), tag->sinkpad);
gst_pad_set_chain_function (tag->sinkpad,
GST_DEBUG_FUNCPTR (gst_flac_tag_chain));
tag->srcpad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&flac_tag_src_template), "src");
+ gst_pad_new_from_static_template (&flac_tag_src_template, "src");
gst_element_add_pad (GST_ELEMENT (tag), tag->srcpad);
tag->buffer = NULL;