Forgot to set the name on a new schedulerfactory, oops
authorWim Taymans <wim.taymans@gmail.com>
Sat, 18 Jan 2003 14:11:36 +0000 (14:11 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 18 Jan 2003 14:11:36 +0000 (14:11 +0000)
Original commit message from CVS:
Forgot to set the name on a new schedulerfactory, oops

common
gst/gstscheduler.c

diff --git a/common b/common
index 5b6a58f..895baa0 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 5b6a58f419c3d6fdd4abbe9943cd17a4fd2addcc
+Subproject commit 895baa0fa0f829ef752424a31bbb2cf68e63842e
index 5aaa3f2..71c8778 100644 (file)
@@ -832,6 +832,7 @@ gst_scheduler_factory_new (const gchar *name, const gchar *longdesc, GType type)
 
   if (!factory) {
     factory = GST_SCHEDULER_FACTORY (g_object_new (GST_TYPE_SCHEDULER_FACTORY, NULL));
+    GST_PLUGIN_FEATURE_NAME (factory) = g_strdup (name);
   }
   else {
     g_free (factory->longdesc);