summaryrefslogtreecommitdiff
path: root/gst/id3demux
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 10:30:12 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:32:20 +0200
commit1071309870735ce1f167a2e53c224636812e6eaf (patch)
tree166ac197d98639553c4d9f437dfe53676f9340b1 /gst/id3demux
parent2b8b5f22465850b306b93c8317ac0f4ff10ca432 (diff)
good: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763076
Diffstat (limited to 'gst/id3demux')
-rw-r--r--gst/id3demux/gstid3demux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index c67a6ff0b..d491bb87b 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -108,8 +108,7 @@ gst_id3demux_class_init (GstID3DemuxClass * klass)
"and ID3v2 tags are present", DEFAULT_PREFER_V1,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&sink_factory));
+ gst_element_class_add_static_pad_template (gstelement_class, &sink_factory);
gst_element_class_set_static_metadata (gstelement_class, "ID3 tag demuxer",
"Codec/Demuxer/Metadata",