diff options
author | Erik Walthinsen <omega@temple-baptist.org> | 2000-12-09 09:13:09 +0000 |
---|---|---|
committer | Erik Walthinsen <omega@temple-baptist.org> | 2000-12-09 09:13:09 +0000 |
commit | 6ba0668cd8f96e94ab41d7624a2ebef611d64615 (patch) | |
tree | 44a8e915cbab3c456e5440423132f4f1383458b3 /gst/gstpad.h | |
parent | 0f9d972b3d4d6a74b9e3e41467617eac52daad89 (diff) |
Snapshot of work-in-progress do deal with out-of-bin elements. Current system is very likely going to be ditched due...
Original commit message from CVS:
Snapshot of work-in-progress do deal with out-of-bin elements. Current
system is very likely going to be ditched due to its complexity and the
fact that it doesn't work right now. More than that, it's generating some
really odd results in my test program, which aren't readily explainable.
If you want to keep a working copy of your working copy (heh), don't update
until this is replaced with a hybrid approach. This approach will be the
beginning of a plan generator that can construct full hybrid schedules
given hints from various places.
Hybrid means that cothreads are used, but there are chunks of the pipeline
that are actually dealt with by chaining. This can improve speed by
reducing cothread switches (which are much cheaper than thread switches,
but still far from free, about 570 cycles on my PIII), but does carry a
complexity burden. Luckily, the structure of GStreamer allows that burden
to live entirely in create_plan. Luck? I think not ;-)
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index 5f8b59d385..ef504f1455 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -25,6 +25,7 @@ #include <gnome-xml/parser.h> #include <gst/gstobject.h> #include <gst/gstbuffer.h> +#include <gst/cothreads.h> #include <gst/gstcaps.h> @@ -72,6 +73,8 @@ struct _GstPad { GList *types; GstCaps *caps; + cothread_state *threadstate; + GstPadDirection direction; GstPad *peer; |