mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Added optimal scheduler to build and call it optomega
Original commit message from CVS: Added optimal scheduler to build and call it optomega
This commit is contained in:
parent
37a127d9ed
commit
3443f74f10
2 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue