--gst-scheduler={basic,standard} :-)))
authorAndy Wingo <wingo@pobox.com>
Fri, 15 Feb 2002 21:17:06 +0000 (21:17 +0000)
committerAndy Wingo <wingo@pobox.com>
Fri, 15 Feb 2002 21:17:06 +0000 (21:17 +0000)
Original commit message from CVS:
--gst-scheduler={basic,standard} :-)))

gst/gstscheduler.c

index 63a0636..9c7cf34 100644 (file)
@@ -402,7 +402,8 @@ gst_schedulerfactory_class_init (GstSchedulerFactoryClass *klass)
 #endif
 
   _gst_schedulerfactories = NULL;
-  _default_name = g_strdup ("basic");
+  if (!_default_name)
+    _default_name = g_strdup ("basic");
 }
 
 static void