summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-06 11:08:18 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-06 11:08:18 +0100
commit1546625294576ff67884384f13d844343d7ffb9d (patch)
tree802c8737bfd7120c49940cb0eb9966544ad38250
parentb31fa2890612a25a13f6aec75f52c773779c14f4 (diff)
downloadgst-plugins-bad-1546625294576ff67884384f13d844343d7ffb9d.tar.gz
gst-plugins-bad-1546625294576ff67884384f13d844343d7ffb9d.tar.bz2
gst-plugins-bad-1546625294576ff67884384f13d844343d7ffb9d.zip
ladspa: fix compilation when LRDF is missing
--
-rw-r--r--ext/ladspa/gstladspa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index ef670276..ccb20e67 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);