mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +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 \
|
libgstbasicomegascheduler.la \
|
||||||
libgstbasicwingoscheduler.la \
|
libgstbasicwingoscheduler.la \
|
||||||
libgstfastomegascheduler.la \
|
libgstfastomegascheduler.la \
|
||||||
libgstfastwingoscheduler.la
|
libgstfastwingoscheduler.la \
|
||||||
|
libgstoptomegascheduler.la
|
||||||
|
|
||||||
libgstbasicomegascheduler_la_SOURCES = gstbasicscheduler.c
|
libgstbasicomegascheduler_la_SOURCES = gstbasicscheduler.c
|
||||||
libgstbasicomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
|
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_LIBADD = $(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la
|
||||||
libgstfastwingoscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
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
|
## this is a REALLY evil hack
|
||||||
## but we need to keep it as long as we have libs/gst and libs/ext
|
## 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:
|
$(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");
|
gst_plugin_set_longname (plugin, "An optimal scheduler");
|
||||||
|
|
||||||
factory = gst_scheduler_factory_new ("optimal",
|
factory = gst_scheduler_factory_new ("opt"COTHREADS_NAME,
|
||||||
"An optimal scheduler",
|
"An optimal scheduler using "COTHREADS_NAME" cothreads",
|
||||||
gst_opt_scheduler_get_type());
|
gst_opt_scheduler_get_type());
|
||||||
|
|
||||||
if (factory != NULL) {
|
if (factory != NULL) {
|
||||||
|
@ -302,7 +302,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
GstPluginDesc plugin_desc = {
|
GstPluginDesc plugin_desc = {
|
||||||
GST_VERSION_MAJOR,
|
GST_VERSION_MAJOR,
|
||||||
GST_VERSION_MINOR,
|
GST_VERSION_MINOR,
|
||||||
"gstoptimalscheduler",
|
"gstopt"COTHREADS_NAME"scheduler",
|
||||||
plugin_init
|
plugin_init
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue