[gst-cvs] gst-plugins-bad: ladspa: fix compilation when LRDF is missing

Wim Taymans wtay at kemper.freedesktop.org
Fri Mar 6 02:08:17 PST 2009


Module: gst-plugins-bad
Branch: master
Commit: 1546625294576ff67884384f13d844343d7ffb9d
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1546625294576ff67884384f13d844343d7ffb9d

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Mar  6 11:08:18 2009 +0100

ladspa: fix compilation when LRDF is missing

--

---

 ext/ladspa/gstladspa.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index ef67027..ccb20e6 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -226,10 +226,13 @@ gst_ladspa_base_init (gpointer g_class)
   } else
     klass_tags = "Filter/Effect/Audio/LADSPA";
 
+#if HAVE_LRDF
   if (extra_klass_tags) {
     details->klass = g_strconcat (klass_tags, extra_klass_tags, NULL);
     g_free (extra_klass_tags);
-  } else {
+  } else
+#endif
+  {
     details->klass = klass_tags;
   }
   GST_INFO ("tags : %s", details->klass);





More information about the Gstreamer-commits mailing list