From 8e1c9b5b3372a7a6b1df34fd0e7a3492eb0ec7c3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 13 Sep 2010 16:03:50 +0200 Subject: [PATCH] rtpbin: small cleanup. --- gst/rtpmanager/gstrtpbin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index add811b374..277007aa49 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -1823,7 +1823,9 @@ gst_rtp_bin_set_property (GObject * object, guint prop_id, rtpbin->use_pipeline_clock = g_value_get_boolean (value); for (sessions = rtpbin->sessions; sessions; sessions = g_slist_next (sessions)) { - g_object_set (G_OBJECT (((GstRtpBinSession *) sessions->data)->session), + GstRtpBinSession *session = (GstRtpBinSession *) sessions->data; + + g_object_set (G_OBJECT (session->session), "use-pipeline-clock", rtpbin->use_pipeline_clock, NULL); } GST_RTP_BIN_UNLOCK (rtpbin);