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
commit9ac0be121668072aa314759f368e39220286c707 (patch)
tree2d8a89fd3fe80472b71fbb369faee33cbb5bc318
parente4e36e4b276ecb91424763a5a52229a04f4a7506 (diff)
downloadgst-plugins-bad-9ac0be121668072aa314759f368e39220286c707.tar.gz
gst-plugins-bad-9ac0be121668072aa314759f368e39220286c707.tar.bz2
gst-plugins-bad-9ac0be121668072aa314759f368e39220286c707.zip
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--sys/sunaudio/gstsunaudio.c5
2 files changed, 17 insertions, 4 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/sys/sunaudio/gstsunaudio.c b/sys/sunaudio/gstsunaudio.c
index 42c8bc86..b58f1826 100644
--- a/sys/sunaudio/gstsunaudio.c
+++ b/sys/sunaudio/gstsunaudio.c
@@ -313,12 +313,9 @@ gst_sunaudiosink_setparams (GstSunAudioSink * sunaudiosink)
static gboolean
gst_sunaudiosink_open (GstSunAudioSink * sunaudiosink)
{
- const char *file;
int fd, ret;
- file = "/dev/audio";
-
- fd = open (file, O_WRONLY);
+ fd = open (sunaudiosink->device, O_WRONLY);
if (fd == -1) {
/* FIXME error */
return FALSE;