summaryrefslogtreecommitdiffstats
path: root/gst/cutter/gstcutter.h
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2007-04-18 12:36:37 +0000
committerMichael Smith <msmith@xiph.org>2007-04-18 12:36:37 +0000
commit4a1ceda8df71835bd62c060ad9088735a8493182 (patch)
tree99955a5fcda8858e8b811b6ea08a2ae8b2377c30 /gst/cutter/gstcutter.h
parent1723d916dd9dae9b3df8a32d155e1f3529b11f16 (diff)
gst/cutter/gstcutter.*: Fix some of the most obvious bugs in cutter. Now doesn't leak everything if input is silent.
Original commit message from CVS: * gst/cutter/gstcutter.c: (gst_cutter_init), (gst_cutter_chain), (gst_cutter_get_caps): * gst/cutter/gstcutter.h: Fix some of the most obvious bugs in cutter. Now doesn't leak everything if input is silent.
Diffstat (limited to 'gst/cutter/gstcutter.h')
-rw-r--r--gst/cutter/gstcutter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/cutter/gstcutter.h b/gst/cutter/gstcutter.h
index cace2bcf..d64c3017 100644
--- a/gst/cutter/gstcutter.h
+++ b/gst/cutter/gstcutter.h
@@ -57,6 +57,7 @@ struct _GstCutter
double silent_run_length; /* how long has it been below threshold ? */
gboolean silent;
+ gboolean silent_prev;
double pre_length; /* how long can the pre-record buffer be ? */
double pre_run_length; /* how long is it currently ? */