+2006-08-16 Wim Taymans <wim@fluendo.com>
+
+ * ext/ladspa/gstladspa.c: (gst_ladspa_base_init):
+ Convert ' ' into '_'. Try to keep as many characters in the padtemplate
+ names as possible.
+
2006-08-16 Wim Taymans <wim@fluendo.com>
* ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_flush),
if (LADSPA_IS_PORT_AUDIO (p)) {
gchar *name = g_strdup ((gchar *) desc->PortNames[j]);
- g_strcanon (name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-", '-');
+ GST_DEBUG ("LADSPA port name: \"%s\"", name);
+ g_strdelimit (name, " ", '_');
+ g_strcanon (name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "_-><=", '-');
+ GST_DEBUG ("GStreamer pad name: \"%s\"", name);
if (LADSPA_IS_PORT_INPUT (p))
gst_signal_processor_class_add_pad_template (gsp_class, name,