From 6308ad1a0f2cf8a93d8415bfbba0271b915427bc Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Mon, 16 Jan 2006 12:30:41 +0000 Subject: Removed gst_base_src_set_live from mms and neon, and now calling parent_class->dispose in dispose on sdlaudio. Original commit message from CVS: Removed gst_base_src_set_live from mms and neon, and now calling parent_class->dispose in dispose on sdlaudio. --- ext/libmms/gstmms.c | 2 -- ext/neon/gstneonhttpsrc.c | 2 -- ext/sdl/sdlaudiosink.c | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 5bd47472..13a0b01b 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -146,8 +146,6 @@ gst_mms_class_init (GstMMSClass * klass) static void gst_mms_init (GstMMS * mmssrc, GstMMSClass * g_class) { - gst_base_src_set_live (GST_BASE_SRC (mmssrc), TRUE); - gst_pad_set_query_function (GST_BASE_SRC (mmssrc)->srcpad, gst_mms_src_query); gst_pad_set_query_type_function (GST_BASE_SRC (mmssrc)->srcpad, gst_mms_get_query_types); diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 270a89c4..a7c8a192 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -167,8 +167,6 @@ gst_neonhttp_src_init (GstNeonhttpSrc * this, GstNeonhttpSrcClass * g_class) this->adapter = gst_adapter_new (); - gst_base_src_set_live (GST_BASE_SRC (this), TRUE); - GST_OBJECT_FLAG_UNSET (this, GST_NEONHTTP_SRC_OPEN); } diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index dce28ef0..8526996b 100644 --- a/ext/sdl/sdlaudiosink.c +++ b/ext/sdl/sdlaudiosink.c @@ -146,6 +146,8 @@ GST_BOILERPLATE (GstSDLAudioSink, gst_sdlaudio_sink, GstAudioSink, g_free (sdlaudiosink->buffer); } + G_OBJECT_CLASS (parent_class)->dispose (object); + } static void -- cgit v1.2.1