From da176ab8ca5fb713f8d3b09ec2eacfbc31fecf2a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 9 Jun 2002 12:13:56 +0000 Subject: [PATCH] Added the flush flag Original commit message from CVS: Added the flush flag --- gst/gstqueue.h | 1 + plugins/elements/gstqueue.h | 1 + 2 files changed, 2 insertions(+) diff --git a/gst/gstqueue.h b/gst/gstqueue.h index 5fabe89..e9e8b7c 100644 --- a/gst/gstqueue.h +++ b/gst/gstqueue.h @@ -78,6 +78,7 @@ struct _GstQueue { * A value of -1 will block forever. */ gboolean may_deadlock; /* it the queue should fail on possible deadlocks */ gboolean interrupt; + gboolean flush; GMutex *qlock; /* lock for queue (vs object lock) */ /* we are single reader and single writer queue */ diff --git a/plugins/elements/gstqueue.h b/plugins/elements/gstqueue.h index 5fabe89..e9e8b7c 100644 --- a/plugins/elements/gstqueue.h +++ b/plugins/elements/gstqueue.h @@ -78,6 +78,7 @@ struct _GstQueue { * A value of -1 will block forever. */ gboolean may_deadlock; /* it the queue should fail on possible deadlocks */ gboolean interrupt; + gboolean flush; GMutex *qlock; /* lock for queue (vs object lock) */ /* we are single reader and single writer queue */ -- 2.7.4