summaryrefslogtreecommitdiffstats
path: root/gst/valve/gstvalve.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-10 18:52:54 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:59 +0100
commita4ed8c5d96cc8e5cdcf0e16e1b730c6a8838e993 (patch)
treea447383b4ee8568f3bb220afc7ecb3bbc9aee91e /gst/valve/gstvalve.c
parent15c74af4d06b77b697984fa4a7f28b7293e32434 (diff)
downloadgst-plugins-bad-a4ed8c5d96cc8e5cdcf0e16e1b730c6a8838e993.tar.gz
gst-plugins-bad-a4ed8c5d96cc8e5cdcf0e16e1b730c6a8838e993.tar.bz2
gst-plugins-bad-a4ed8c5d96cc8e5cdcf0e16e1b730c6a8838e993.zip
Document the GstValve
Diffstat (limited to 'gst/valve/gstvalve.c')
-rw-r--r--gst/valve/gstvalve.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gst/valve/gstvalve.c b/gst/valve/gstvalve.c
index 6c8c6072..702b3e56 100644
--- a/gst/valve/gstvalve.c
+++ b/gst/valve/gstvalve.c
@@ -21,6 +21,18 @@
* Boston, MA 02111-1307, USA.
*
*/
+/**
+ * SECTION:element-valve
+ *
+ * The valve is a simple element that drops buffers when the #GstValve::drop
+ * property is set to %TRUE and lets then through otherwise.
+ *
+ * Any downstream error received while the #GstValve::drop property is %FALSE
+ * is ignored. So downstream element can be set to %GST_STATE_NULL and removed,
+ * without using pad blocking.
+ *
+ * Last reviewed on 2008-02-10 (0.10.11)
+ */
#ifdef HAVE_CONFIG_H
#include "config.h"