From 6435014c2605e1e22d22fb58f135347bc13e412a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 12 Dec 2005 10:40:42 +0000 Subject: ext/: GstObjects must be unref'ed with gst_object_unref() instead of g_object_unref(), otherwise things break for GLi... Original commit message from CVS: * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_loop): * ext/libmms/gstmms.c: (gst_mms_src_query), (gst_mms_create): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_src_query), (gst_musepackdec_loop): * ext/swfdec/gstswfdec.c: (gst_swfdec_video_link), (gst_swfdec_src_query): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query): GstObjects must be unref'ed with gst_object_unref() instead of g_object_unref(), otherwise things break for GLib-2.6 users. --- ext/libmms/gstmms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/libmms') diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 89e4e572..5bd47472 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -215,7 +215,7 @@ gst_mms_src_query (GstPad * pad, GstQuery * query) break; } - g_object_unref (mmssrc); + gst_object_unref (mmssrc); return res; } @@ -279,7 +279,7 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf) if (!gst_pad_send_event (peer, gst_event_new_eos ())) { ret = GST_FLOW_ERROR; } - g_object_unref (peer); + gst_object_unref (peer); goto done; } -- cgit v1.2.1