From 81a09fc47254b6f9442e5275d97cb72c75416377 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 10 Oct 2005 17:04:24 +0000 Subject: [PATCH] ext/alsa/gstalsasink.c: Also allow unsigned int. Original commit message from CVS: * ext/alsa/gstalsasink.c: Also allow unsigned int. * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_create), (gst_base_audio_src_change_state): Small cleanup --- ChangeLog | 9 +++++++++ ext/alsa/gstalsasink.c | 3 +-- gst-libs/gst/audio/gstbaseaudiosrc.c | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a139731cb6..5adfe8f21df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-10-10 Wim Taymans + + * ext/alsa/gstalsasink.c: + Also allow unsigned int. + + * gst-libs/gst/audio/gstbaseaudiosrc.c: + (gst_base_audio_src_create), (gst_base_audio_src_change_state): + Small cleanup + 2005-10-10 Wim Taymans * check/pipelines/simple_launch_lines.c: (run_pipeline): diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index 6e5d5b49ed6..5d18f12b7a7 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -84,8 +84,7 @@ static GstStaticPadTemplate alsasink_sink_factory = #else "endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, " #endif - //"signed = (boolean) { TRUE, FALSE }, " - "signed = (boolean) TRUE, " + "signed = (boolean) { TRUE, FALSE }, " "width = (int) 16, " "depth = (int) 16, " "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; " diff --git a/gst-libs/gst/audio/gstbaseaudiosrc.c b/gst-libs/gst/audio/gstbaseaudiosrc.c index 726e6db465d..0dc25aded18 100644 --- a/gst-libs/gst/audio/gstbaseaudiosrc.c +++ b/gst-libs/gst/audio/gstbaseaudiosrc.c @@ -413,7 +413,7 @@ gst_base_audio_src_change_state (GstElement * element, break; case GST_STATE_CHANGE_READY_TO_NULL: gst_ring_buffer_close_device (src->ringbuffer); - gst_object_unref (GST_OBJECT (src->ringbuffer)); + gst_object_unref (src->ringbuffer); src->ringbuffer = NULL; break; default: