summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2004-10-26 11:36:53 +0000
committerIain Holmes <iain@prettypeople.org>2004-10-26 11:36:53 +0000
commitddc68e093316a2ee3d58ef2cfbdb7e47556cc248 (patch)
tree3256780f80480ae8289baa783ccb4922746b595e
parent1672e83d26cdf4232fb06ebb2120bfcf8b74de79 (diff)
Memory leak fixes
Original commit message from CVS: Memory leak fixes Allow level to take mono or stereo audio
-rw-r--r--ChangeLog16
-rw-r--r--gst/level/gstlevel.c4
2 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 38443fe3..937d0032 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2004-10-26 Iain <iaingnome@gmail.com>
+
+ * ext/ogg/gstoggdemux.c (gst_ogg_pad_new): Free the tag list.
+ * gst/audioscale/gstaudioscale.c (gst_audioscale_link): Free the copy
+ of the caps.
+ * gst/interleave/interleave.c (interleave_class_init): Hook up release
+ pad.
+ (interleave_release_pad): Remove the pad.
+ * gst/level/gstlevel.c: Allow the level to take 1 or 2 channels.
+ * sys/sunaudio/gstsunaudio.c (gst_sunaudio_setparams): Pay attention to
+ the set device.
+ * sys/xvimage/xvimagesink.c (gst_xvimagesink_get_xv_support): Free the
+ attrs
+ (gst_xvimagesink_xcontext_clear): Free the xcontext.
+ (gst_xvimagesink_finalize): Free the par.
+
2004-10-26 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/avi/gstavimux.c: (gst_avimux_audsinkconnect),
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index c00b07b4..d0cc62d5 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -48,7 +48,7 @@ GST_STATIC_PAD_TEMPLATE ("level_sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
"rate = (int) [ 1, MAX ], "
- "channels = (int) 2, "
+ "channels = (int) [ 1, 2 ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "signed = (boolean) true")
@@ -60,7 +60,7 @@ GST_STATIC_PAD_TEMPLATE ("level_src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
"rate = (int) [ 1, MAX ], "
- "channels = (int) 2, "
+ "channels = (int) [ 1, 2 ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "signed = (boolean) true")