From bb6c23aa436744475e48448dce389863c0b049a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 10 Oct 2007 11:44:01 +0000 Subject: configure.ac: Require core CVS. This is implicit in the -base CVS requirement already, so we might just well spell i... Original commit message from CVS: * configure.ac: Require core CVS. This is implicit in the -base CVS requirement already, so we might just well spell it out. Also, we do need at least 0.10.14 for gst_element_class_set_details_simple(). Make check for gmyth a bit more restrictive so things don't break if the next version changes API. * ext/alsaspdif/alsaspdifsink.c: Work around alsa alloca macros triggering 'always evaluates to true' warnings with gcc-4.2 and fix compilation with gcc-4.2. Also don't leak the device string. * ext/mpeg2enc/gstmpeg2enc.cc: * ext/soundtouch/gstpitch.cc: * gst/modplug/gstmodplug.cc: Fix compilation with g++4.2 and -Wall -Werror (also needs plugin define fix from core CVS). Fixes #462737. --- ext/soundtouch/gstpitch.cc | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'ext/soundtouch') diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index da90c513..b1a019f2 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -47,23 +47,12 @@ struct _GstPitchPrivate soundtouch::SoundTouch * st; }; -static GstElementDetails gst_pitch_details = -GST_ELEMENT_DETAILS ("Pitch controller", - "Filter/Converter/Audio", - "Control the pitch of an audio stream", - "Wouter Paesen "); - -enum -{ - LAST_SIGNAL -}; - enum { ARG_0, ARG_RATE, ARG_TEMPO, - ARG_PITCH, + ARG_PITCH }; #define SUPPORTED_CAPS \ @@ -117,7 +106,9 @@ gst_pitch_base_init (gpointer g_class) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_pitch_sink_template)); - gst_element_class_set_details (gstelement_class, &gst_pitch_details); + gst_element_class_set_details_simple (gstelement_class, "Pitch controller", + "Filter/Converter/Audio", "Control the pitch of an audio stream", + "Wouter Paesen "); } static void -- cgit v1.2.1