summaryrefslogtreecommitdiff
path: root/ext/gconf/gstswitchsrc.c
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
committerSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
commitbaa3403ebe3f0028ca826fb8d7f56e9cbed05356 (patch)
tree7765d941dd576fcd3bf0cb297894e55fbbfe3207 /ext/gconf/gstswitchsrc.c
parentb1065bf2a5159183bde18dcd95c988ea42b86f83 (diff)
downloadgst-plugins-good0.10-714cbe402ebfc3704748a67660c2322c50fc02c3.tar.gz
gst-plugins-good0.10-714cbe402ebfc3704748a67660c2322c50fc02c3.tar.bz2
gst-plugins-good0.10-714cbe402ebfc3704748a67660c2322c50fc02c3.zip
Diffstat (limited to 'ext/gconf/gstswitchsrc.c')
-rw-r--r--ext/gconf/gstswitchsrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/gconf/gstswitchsrc.c b/ext/gconf/gstswitchsrc.c
index 0136e4a..664e0bd 100644
--- a/ext/gconf/gstswitchsrc.c
+++ b/ext/gconf/gstswitchsrc.c
@@ -60,8 +60,7 @@ gst_switch_src_class_init (GstSwitchSrcClass * klass)
/* Provide a default pad template if the child didn't */
child_pad_templ = gst_element_class_get_pad_template (eklass, "src");
if (child_pad_templ == NULL) {
- gst_element_class_add_pad_template (eklass,
- gst_static_pad_template_get (&src_template));
+ gst_element_class_add_static_pad_template (eklass, &src_template);
}
}