[farsight2/master] Keep ref to bin/muxer in specialsources (because of the multithreading)

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:40 PST 2008


---
 gst/fsrtpconference/fs-rtp-special-source.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index a6a1d29..1da6a0d 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -273,10 +273,10 @@ fs_rtp_special_source_set_property (GObject *object,
   switch (prop_id)
   {
     case PROP_BIN:
-      self->priv->outer_bin = g_value_get_object (value);
+      self->priv->outer_bin = g_value_dup_object (value);
       break;
     case PROP_RTPMUXER:
-      self->priv->rtpmuxer = g_value_get_object (value);
+      self->priv->rtpmuxer = g_value_dup_object (value);
       break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-- 
1.5.6.5




More information about the farsight-commits mailing list