[farsight2/master] Typecast into the right types of objects

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


---
 gst/fsrtpconference/fs-rtp-session.c   |    2 +-
 gst/fsrtpconference/fs-rtp-substream.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index d7c66cd..21ca1b0 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -654,7 +654,7 @@ fs_rtp_session_set_property (GObject *object,
       }
       break;
     case PROP_CONFERENCE:
-      self->priv->conference = g_value_dup_object (value);
+      self->priv->conference = FS_RTP_CONFERENCE (g_value_dup_object (value));
       break;
     case PROP_NO_RTCP_TIMEOUT:
       FS_RTP_SESSION_LOCK (self);
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index 1850e6e..bde1434 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -436,7 +436,7 @@ fs_rtp_sub_stream_set_property (GObject *object,
       FS_RTP_SESSION_UNLOCK (self->priv->session);
       break;
     case PROP_RTPBIN_PAD:
-      self->priv->rtpbin_pad = g_value_dup_object (value);
+      self->priv->rtpbin_pad = GST_PAD (g_value_dup_object (value));
       break;
     case PROP_SSRC:
       self->priv->ssrc = g_value_get_uint (value);
-- 
1.5.6.5




More information about the farsight-commits mailing list