From: <ia...@fr...> - 2004-09-16 11:35:05
|
CVS Root: /home/cvs/gstreamer Module: gst-plugins Changes by: iain Date: Thu Sep 16 2004 04:35:02 PDT Log message: Free the caps used for the try Modified files: . : ChangeLog gst/audioconvert: gstaudioconvert.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1070&r2=1.1071 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/audioconvert/gstaudioconvert.c.diff?r1=1.55&r2=1.56 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /home/cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1070 retrieving revision 1.1071 diff -u -d -r1.1070 -r1.1071 --- ChangeLog 15 Sep 2004 21:43:05 -0000 1.1070 +++ ChangeLog 16 Sep 2004 11:34:50 -0000 1.1071 @@ -1,3 +1,8 @@ +2004-09-16 Iain <iai...@gm...> + + * gst/audioconvert/gstaudioconvert.c (_fixate_caps_to_int): Free the + try caps. 2004-09-15 Ronald S. Bultje <rb...@ro...> * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream): Index: gstaudioconvert.c RCS file: /home/cvs/gstreamer/gst-plugins/gst/audioconvert/gstaudioconvert.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- gstaudioconvert.c 15 Sep 2004 19:29:24 -0000 1.55 +++ gstaudioconvert.c 16 Sep 2004 11:34:50 -0000 1.56 @@ -462,6 +462,7 @@ gst_caps_append (try, gst_caps_new_simple ("audio/x-raw-float", field, GST_TYPE_INT_RANGE, value, G_MAXINT, NULL)); isect_higher = gst_caps_intersect (*caps, try); + gst_caps_free (try); /* FIXME: why choose to end up with the higher range, and not the fixed * value ? */ if (!gst_caps_is_empty (isect_higher)) { |