diff options
author | 2003-02-05 21:57:56 +0000 | |
---|---|---|
committer | 2003-02-05 21:57:56 +0000 | |
commit | 8f662f9bcc305e3487c09ccd75f2d48ea1ba74c2 (patch) | |
tree | ede683d98c64d992614a1a910d84a9b241f55962 /media-libs | |
parent | added scheduler patch (diff) | |
download | historical-8f662f9bcc305e3487c09ccd75f2d48ea1ba74c2.tar.gz historical-8f662f9bcc305e3487c09ccd75f2d48ea1ba74c2.tar.bz2 historical-8f662f9bcc305e3487c09ccd75f2d48ea1ba74c2.zip |
and -duh- the actual patch
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gstreamer/files/gstreamer-default_scheduler_opt.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/gstreamer/files/gstreamer-default_scheduler_opt.patch b/media-libs/gstreamer/files/gstreamer-default_scheduler_opt.patch new file mode 100644 index 000000000000..f502be794a93 --- /dev/null +++ b/media-libs/gstreamer/files/gstreamer-default_scheduler_opt.patch @@ -0,0 +1,33 @@ +diff -ur gstreamer-0.6.0/gst/gst.c gstreamer-0.6.0.optsched/gst/gst.c +--- gstreamer-0.6.0/gst/gst.c 2003-01-21 23:10:07.000000000 +0100 ++++ gstreamer-0.6.0.optsched/gst/gst.c 2003-02-05 22:07:30.000000000 +0100 +@@ -94,7 +94,7 @@ + #define NUL '\0' + #endif + +-/* default scheduler, 'basicomega', can be changed in ++/* default scheduler, 'opt', can be changed in + * gstscheduler.c in function gst_scheduler_factory_class_init + */ + static const struct poptOption options[] = { +@@ -108,7 +108,7 @@ + {"gst-plugin-spew", NUL, POPT_ARG_NONE|POPT_ARGFLAG_STRIP, NULL, ARG_PLUGIN_SPEW, "enable verbose plugin loading diagnostics", NULL}, + {"gst-plugin-path", NUL, POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, ARG_PLUGIN_PATH, "'" G_SEARCHPATH_SEPARATOR_S "'--separated path list for loading plugins", "PATHS"}, + {"gst-plugin-load", NUL, POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, ARG_PLUGIN_LOAD, "comma-separated list of plugins to preload in addition to the list stored in env variable GST_PLUGIN_PATH", "PLUGINS"}, +- {"gst-scheduler", NUL, POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, ARG_SCHEDULER, "scheduler to use ('basicomega' is the default)", "SCHEDULER"}, ++ {"gst-scheduler", NUL, POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, ARG_SCHEDULER, "scheduler to use ('opt' is the default)", "SCHEDULER"}, + {"gst-nothreads", NUL, POPT_ARG_NONE|POPT_ARGFLAG_STRIP, NULL, ARG_NOTHREADS, "use NOPs for all threading and locking operations", NULL}, + {"gst-registry", NUL, POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, ARG_REGISTRY, "registry to use" , "REGISTRY"}, + POPT_TABLEEND +diff -ur gstreamer-0.6.0/gst/gstscheduler.c gstreamer-0.6.0.optsched/gst/gstscheduler.c +--- gstreamer-0.6.0/gst/gstscheduler.c 2003-01-18 15:11:36.000000000 +0100 ++++ gstreamer-0.6.0.optsched/gst/gstscheduler.c 2003-02-05 22:07:34.000000000 +0100 +@@ -802,7 +802,7 @@ + factory_parent_class = g_type_class_ref (GST_TYPE_PLUGIN_FEATURE); + + if (!_default_name) +- _default_name = g_strdup ("basicomega"); ++ _default_name = g_strdup ("opt"); + } + + static void |