diff options
Diffstat (limited to 'gst/stereo/gststereo.c')
-rw-r--r-- | gst/stereo/gststereo.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c index 2dafc75f9..e782f93ce 100644 --- a/gst/stereo/gststereo.c +++ b/gst/stereo/gststereo.c @@ -45,15 +45,6 @@ #include <gst/audio/gstaudiofilter.h> #include <gst/controller/gstcontroller.h> - -/* elementfactory information */ -static const GstElementDetails stereo_details = -GST_ELEMENT_DETAILS ("Stereo effect", - "Filter/Effect/Audio", - "Muck with the stereo signal to enhance its 'stereo-ness'", - "Erik Walthinsen <omega@cse.ogi.edu>"); - - #define ALLOWED_CAPS \ "audio/x-raw-int," \ " depth = (int) 16, " \ @@ -95,7 +86,10 @@ gst_stereo_base_init (gpointer g_class) GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstCaps *caps; - gst_element_class_set_details (element_class, &stereo_details); + gst_element_class_set_details_simple (element_class, "Stereo effect", + "Filter/Effect/Audio", + "Muck with the stereo signal to enhance its 'stereo-ness'", + "Erik Walthinsen <omega@cse.ogi.edu>"); caps = gst_caps_from_string (ALLOWED_CAPS); gst_audio_filter_class_add_pad_templates (GST_AUDIO_FILTER_CLASS (g_class), |