summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c8909ab)
raw | patch | inline | side by side (parent: c8909ab)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Tue, 6 Dec 2011 23:52:53 +0000 (23:52 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Tue, 6 Dec 2011 23:54:59 +0000 (23:54 +0000) |
Introduced by commit bd302bb6 pluginfeature: avoid duplicating feature->name
https://bugzilla.gnome.org/show_bug.cgi?id=459466
https://bugzilla.gnome.org/show_bug.cgi?id=665703
https://bugzilla.gnome.org/show_bug.cgi?id=459466
https://bugzilla.gnome.org/show_bug.cgi?id=665703
gst/gstindexfactory.c | patch | blob | history |
diff --git a/gst/gstindexfactory.c b/gst/gstindexfactory.c
index 62c79fdccf3f5822445be2517cdccbaa1025b5e8..2b96e05d7a1632596c0b7e515039d7317895ee1c 100644 (file)
--- a/gst/gstindexfactory.c
+++ b/gst/gstindexfactory.c
g_return_val_if_fail (name != NULL, NULL);
factory = GST_INDEX_FACTORY (g_object_newv (GST_TYPE_INDEX_FACTORY, 0, NULL));
- GST_PLUGIN_FEATURE_NAME (factory) = g_strdup (name);
+ gst_plugin_feature_set_name (GST_PLUGIN_FEATURE (factory), name);
if (factory->longdesc)
g_free (factory->longdesc);
factory->longdesc = g_strdup (longdesc);