mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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:
parent
bf7bff6c47
commit
a2b7df0911
1 changed files with 6 additions and 0 deletions
|
@ -308,9 +308,15 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
|
||||
gst_plugin_set_longname (plugin, "An optimal scheduler");
|
||||
|
||||
#ifdef USE_COTHREADS
|
||||
factory = gst_scheduler_factory_new ("opt"COTHREADS_NAME,
|
||||
"An optimal scheduler using "COTHREADS_NAME" cothreads",
|
||||
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) {
|
||||
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||
|
|
Loading…
Reference in a new issue