diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /gst/scaletempo | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) | |
download | gstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/scaletempo')
-rw-r--r-- | gst/scaletempo/gstscaletempo.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gst/scaletempo/gstscaletempo.c b/gst/scaletempo/gstscaletempo.c index 7d72dba5c..53f454b18 100644 --- a/gst/scaletempo/gstscaletempo.c +++ b/gst/scaletempo/gstscaletempo.c @@ -676,19 +676,17 @@ gst_scaletempo_set_property (GObject * object, static void gst_scaletempo_base_init (gpointer klass) { - static GstElementDetails element_details = { - "Scaletempo", - "Filter/Effect/Rate", - "Sync audio tempo with playback rate", - "Rov Juvano <rovjuvano@users.sourceforge.net>" - }; + GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_details (element_class, &element_details); + gst_element_class_set_details_simple (element_class, "Scaletempo", + "Filter/Effect/Rate", + "Sync audio tempo with playback rate", + "Rov Juvano <rovjuvano@users.sourceforge.net>"); } static void |