More sensible name for the scheduler when compiled without cothreads

Original commit message from CVS:
More sensible name for the scheduler when compiled without cothreads
This commit is contained in:
Wim Taymans 2003-02-10 20:11:14 +00:00
parent bf7bff6c47
commit a2b7df0911

View file

@ -308,9 +308,15 @@ plugin_init (GModule *module, GstPlugin *plugin)
gst_plugin_set_longname (plugin, "An optimal scheduler"); gst_plugin_set_longname (plugin, "An optimal scheduler");
#ifdef USE_COTHREADS
factory = gst_scheduler_factory_new ("opt"COTHREADS_NAME, factory = gst_scheduler_factory_new ("opt"COTHREADS_NAME,
"An optimal scheduler using "COTHREADS_NAME" cothreads", "An optimal scheduler using "COTHREADS_NAME" cothreads",
gst_opt_scheduler_get_type()); gst_opt_scheduler_get_type());
#else
factory = gst_scheduler_factory_new ("opt",
"An optimal scheduler using no cothreads",
gst_opt_scheduler_get_type());
#endif
if (factory != NULL) { if (factory != NULL) {
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));