diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-09-13 16:03:50 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-09-13 16:25:42 +0200 |
commit | 8e1c9b5b3372a7a6b1df34fd0e7a3492eb0ec7c3 (patch) | |
tree | c543515511d2fd522742d42e9a2dff993d341fd7 | |
parent | f62dc6976b611384c98efb37d407b5299daf8c17 (diff) |
rtpbin: small cleanup.
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index add811b37..277007aa4 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); |