diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-12-12 10:40:42 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-12-12 10:40:42 +0000 |
commit | 6435014c2605e1e22d22fb58f135347bc13e412a (patch) | |
tree | 9d487637280f21c097329a06f61d214d6200a9d8 /ext/swfdec | |
parent | dfa22f08c60e11530eca7676bb9b3be5241a9fcc (diff) | |
download | gst-plugins-bad-6435014c2605e1e22d22fb58f135347bc13e412a.tar.gz gst-plugins-bad-6435014c2605e1e22d22fb58f135347bc13e412a.tar.bz2 gst-plugins-bad-6435014c2605e1e22d22fb58f135347bc13e412a.zip |
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.
Diffstat (limited to 'ext/swfdec')
-rw-r--r-- | ext/swfdec/gstswfdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c index 326c4bda..bd983b58 100644 --- a/ext/swfdec/gstswfdec.c +++ b/ext/swfdec/gstswfdec.c @@ -287,7 +287,7 @@ gst_swfdec_video_link (GstPad * pad, GstCaps * caps) res = TRUE; } - g_object_unref (swfdec); + gst_object_unref (swfdec); return res; } @@ -669,7 +669,7 @@ gst_swfdec_src_query (GstPad * pad, GstQuery * query) break; } - g_object_unref (swfdec); + gst_object_unref (swfdec); return res; } |