summaryrefslogtreecommitdiff
path: root/gst/multifile/gstmultifilesink.c
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/multifile/gstmultifilesink.c
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/multifile/gstmultifilesink.c')
-rw-r--r--gst/multifile/gstmultifilesink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c
index 5d2878662..a12c63fca 100644
--- a/gst/multifile/gstmultifilesink.c
+++ b/gst/multifile/gstmultifilesink.c
@@ -318,8 +318,7 @@ gst_multi_file_sink_class_init (GstMultiFileSinkClass * klass)
GST_DEBUG_CATEGORY_INIT (gst_multi_file_sink_debug, "multifilesink", 0,
"multifilesink element");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&sinktemplate));
+ gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate);
gst_element_class_set_static_metadata (gstelement_class, "Multi-File Sink",
"Sink/File",
"Write buffers to a sequentially named set of files",