summaryrefslogtreecommitdiff
path: root/sys/decklink/gstdecklinkaudiosrc.cpp
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 15:50:26 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:56:51 +0200
commit8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch)
tree93bc4a0be9c90b3e4d086328781411d9798933d8 /sys/decklink/gstdecklinkaudiosrc.cpp
parentc25782921324cb9ff7bfcc757257dfde05f95df3 (diff)
downloadgstreamer-plugins-bad-8cdfb13658a069cf8c45a3265bf865849d3dc8e9.tar.gz
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'sys/decklink/gstdecklinkaudiosrc.cpp')
-rw-r--r--sys/decklink/gstdecklinkaudiosrc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/decklink/gstdecklinkaudiosrc.cpp b/sys/decklink/gstdecklinkaudiosrc.cpp
index 9a701ee06..54fe85b04 100644
--- a/sys/decklink/gstdecklinkaudiosrc.cpp
+++ b/sys/decklink/gstdecklinkaudiosrc.cpp
@@ -170,8 +170,7 @@ gst_decklink_audio_src_class_init (GstDecklinkAudioSrcClass * klass)
G_MAXINT, DEFAULT_BUFFER_SIZE,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_template));
+ gst_element_class_add_static_pad_template (element_class, &sink_template);
gst_element_class_set_static_metadata (element_class, "Decklink Audio Source",
"Audio/Src", "Decklink Source", "David Schleef <ds@entropywave.com>, "