summaryrefslogtreecommitdiff
path: root/gst/gstbin.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2000-08-14 10:55:35 +0000
committerWim Taymans <wim.taymans@gmail.com>2000-08-14 10:55:35 +0000
commit202ba2ae4acfd043cf6a4d4f7853b2f96050a295 (patch)
tree81a4204a97a01842a0d5f004c1762910b6ac87c4 /gst/gstbin.h
parente7b637b92bab1b0cae48e95c725274cfd80ad69d (diff)
State change fixes in the threading element.
Original commit message from CVS: State change fixes in the threading element. Added bufferpools.
Diffstat (limited to 'gst/gstbin.h')
-rw-r--r--gst/gstbin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/gstbin.h b/gst/gstbin.h
index 8ba90d0a8..7952c2855 100644
--- a/gst/gstbin.h
+++ b/gst/gstbin.h
@@ -44,7 +44,7 @@ GstElementDetails gst_bin_details;
#define GST_IS_BIN(obj) \
(GTK_CHECK_TYPE((obj),GST_TYPE_BIN))
#define GST_IS_BIN_CLASS(obj) \
- (GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_BIN)))
+ (GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_BIN))
typedef struct _GstBin GstBin;
typedef struct _GstBinClass GstBinClass;
@@ -62,6 +62,7 @@ struct _GstBin {
gint numentries;
cothread_context *threadcontext;
+ gboolean use_cothreads;
};
struct _GstBinClass {
@@ -100,6 +101,9 @@ gboolean gst_bin_set_state_type(GstBin *bin,
void gst_bin_iterate(GstBin *bin);
void gst_bin_create_plan(GstBin *bin);
+// hack FIXME
+void gst_bin_use_cothreads(GstBin *bin, gboolean enabled);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */