frei0r: Add the frei0r plugin type to the element name

This makes it easier to distinguish generators from filters, etc
This commit is contained in:
Sebastian Dröge 2009-06-12 22:04:14 +02:00
parent e3afdb0bd5
commit 455981d336
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ gst_frei0r_filter_register (GstPlugin * plugin, const f0r_plugin_info_t * info,
gchar *type_name, *tmp;
GstFrei0rFilterClassData *class_data;
tmp = g_strdup_printf ("frei0r-%s", info->name);
tmp = g_strdup_printf ("frei0r-filter-%s", info->name);
type_name = g_ascii_strdown (tmp, -1);
g_free (tmp);
g_strcanon (type_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-');

View file

@ -382,7 +382,7 @@ gst_frei0r_src_register (GstPlugin * plugin, const f0r_plugin_info_t * info,
gchar *type_name, *tmp;
GstFrei0rSrcClassData *class_data;
tmp = g_strdup_printf ("frei0r-%s", info->name);
tmp = g_strdup_printf ("frei0r-src-%s", info->name);
type_name = g_ascii_strdown (tmp, -1);
g_free (tmp);
g_strcanon (type_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-');