]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ggo/prebuffer_filter.m4
Treat all ggo files as m4 files.
[paraslash.git] / ggo / prebuffer_filter.m4
diff --git a/ggo/prebuffer_filter.m4 b/ggo/prebuffer_filter.m4
new file mode 100644 (file)
index 0000000..7553e95
--- /dev/null
@@ -0,0 +1,24 @@
+option "duration" d
+#~~~~~~~~~~~~~~~~~~
+"prebuffer time"
+int typestr="milliseconds"
+default="200"
+optional
+details="
+       Wait that many milliseconds before letting data go through.
+       The time interval starts when the first data byte is seen by
+       this filter.
+"
+
+option "size" s
+#~~~~~~~~~~~~~~
+"amount of data to prebuffer"
+int typestr="bytes"
+default="0"
+optional
+details="
+       Wait until that many data bytes are available in the input buffer.
+       The default value of zero means to not prebuffer by size at all.
+       If both --duration and --size options are given and non-zero, the
+       filter waits until both conditions are met.
+"