gst/playback/: Work around refcount problem with g_value_set_object() that occur...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 7 Dec 2005 18:51:35 +0000 (18:51 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 7 Dec 2005 18:51:35 +0000 (18:51 +0000)
commitd0cc0e908205d2b0a44aeb4fb47011ff92ce84f1
tree274d0f6a3983ccc5e6a1bd4a5ebf7d402712a926
parent5c6b0570911d23d86722fe247092fe4493fb05af
gst/playback/: Work around refcount problem with g_value_set_object() that occur if the core has been compiled agains...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_property):
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Work around refcount problem with g_value_set_object() that occur
if the core has been compiled against GLib-2.6 (g_value_set_object()
will only g_object_ref() the element, but the caller will
gst_object_unref() it and bad things will happen due to the way
GstObjects are refcounted in the GLib-2.6 case). Fixes problems with
totem for people on FC4 using Thomas's 0.10 RPMs.
ChangeLog
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin.c