summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-04-20 15:11:00 +0000
committerSteve Baker <steve@stevebaker.org>2002-04-20 15:11:00 +0000
commit826f1e165fc6b301735e9861fdae2be3544abe0b (patch)
tree25769a5c172f4560b113176c64ce771596c10172 /ext
parentba7bac3955e6f8fd8ee433104ad1255fb4b13035 (diff)
downloadgst-plugins-bad-826f1e165fc6b301735e9861fdae2be3544abe0b.tar.gz
gst-plugins-bad-826f1e165fc6b301735e9861fdae2be3544abe0b.tar.bz2
gst-plugins-bad-826f1e165fc6b301735e9861fdae2be3544abe0b.zip
s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop func
Original commit message from CVS: s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop func
Diffstat (limited to 'ext')
-rw-r--r--ext/ladspa/gstladspa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index dd1f9432..081f03d8 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -228,7 +228,7 @@ gst_ladspa_class_init (GstLADSPAClass *klass)
desc->PortRangeHints[current_portnum].LowerBound;
} else {
if (argtype==G_TYPE_INT) klass->control_info[i].lowerbound = (gfloat)G_MININT;
- if (argtype==G_TYPE_FLOAT) klass->control_info[i].lowerbound = -G_MINFLOAT;
+ if (argtype==G_TYPE_FLOAT) klass->control_info[i].lowerbound = -G_MAXFLOAT;
}
if (LADSPA_IS_HINT_BOUNDED_ABOVE(hintdesc)) {
@@ -856,6 +856,8 @@ gst_ladspa_loop(GstElement *element)
ladspa->timestamp += ladspa->buffersize * 10^9 / ladspa->samplerate;
} while (TRUE);
+ gst_buffer_pool_unref(bufpool);
+
for (i=0 ; i<numsinkpads ; i++){
gst_bytestream_destroy (bytestreams[i]);
}