Commit 3443f74f authored by Wim Taymans's avatar Wim Taymans
Browse files

Added optimal scheduler to build and call it optomega

Original commit message from CVS:
Added optimal scheduler to build and call it optomega
parent 37a127d9
......@@ -4,7 +4,8 @@ plugin_LTLIBRARIES = \
libgstbasicomegascheduler.la \
libgstbasicwingoscheduler.la \
libgstfastomegascheduler.la \
libgstfastwingoscheduler.la
libgstfastwingoscheduler.la \
libgstoptomegascheduler.la
libgstbasicomegascheduler_la_SOURCES = gstbasicscheduler.c
libgstbasicomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
......@@ -34,6 +35,11 @@ libgstfastwingoscheduler_la_CFLAGS += -I$(top_srcdir)/libs/ext/cothreads
libgstfastwingoscheduler_la_LIBADD = $(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la
libgstfastwingoscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstoptomegascheduler_la_SOURCES = gstoptimalscheduler.c
libgstoptomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
libgstoptomegascheduler_la_LIBADD = ../libcothreads.la
libgstoptomegascheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
## this is a REALLY evil hack
## but we need to keep it as long as we have libs/gst and libs/ext
$(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la:
......
......@@ -286,8 +286,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
gst_plugin_set_longname (plugin, "An optimal scheduler");
factory = gst_scheduler_factory_new ("optimal",
"An optimal scheduler",
factory = gst_scheduler_factory_new ("opt"COTHREADS_NAME,
"An optimal scheduler using "COTHREADS_NAME" cothreads",
gst_opt_scheduler_get_type());
if (factory != NULL) {
......@@ -302,7 +302,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstPluginDesc plugin_desc = {
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"gstoptimalscheduler",
"gstopt"COTHREADS_NAME"scheduler",
plugin_init
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment