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. --- gst/modplug/gstmodplug.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'gst/modplug') diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 1b7bf936..fea87230 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -56,14 +56,6 @@ GST_DEBUG_CATEGORY_STATIC (modplug_debug); #define GST_CAT_DEFAULT modplug_debug -/* elementfactory information */ -GstElementDetails modplug_details = { - "ModPlug", - "Codec/Decoder/Audio", - "Module decoder based on modplug engine", - "Jeremy SIMON " -}; - enum { ARG_0, @@ -148,7 +140,10 @@ gst_modplug_base_init (gpointer g_class) gst_static_pad_template_get (&modplug_sink_template_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&modplug_src_template_factory)); - gst_element_class_set_details (element_class, &modplug_details); + + gst_element_class_set_details_simple (element_class, "ModPlug", + "Codec/Decoder/Audio", "Module decoder based on modplug engine", + "Jeremy SIMON "); GST_DEBUG_CATEGORY_INIT (modplug_debug, "modplug", 0, "ModPlug element"); } -- cgit v1.2.1