From: Steve B. <sb...@us...> - 2002-04-20 15:11:13
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: sbaker3 Date: Sat Apr 20 2002 08:11:12 PDT Log message: s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop func Modified files: ext/ladspa : gstladspa.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/ladspa/gstladspa.c.diff?r1=1.10&r2=1.11 ====Begin Diffs==== Index: gstladspa.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/ladspa/gstladspa.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- gstladspa.c 20 Apr 2002 13:57:00 -0000 1.10 +++ gstladspa.c 20 Apr 2002 15:11:00 -0000 1.11 @@ -228,7 +228,7 @@ 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)) { @@ -855,6 +855,8 @@ 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]); |