summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2010-09-13 14:38:11 +0200
committerThijs Vermeir <thijsvermeir@gmail.com>2010-09-13 14:39:51 +0200
commitf38e37470afdf49269d22045dc8d434487b1a60b (patch)
tree2c440c2a13acc6e338defd504ae76073cb2ac332
parent94e87ef8eed9ff0b3a3f1c7defde7285827e991c (diff)
rtpbin: set use-pipeline-clock on correct GObject
-rw-r--r--gst/rtpmanager/gstrtpbin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 13057729b..add811b37 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -1823,8 +1823,8 @@ 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 (sessions->data), "use-pipeline-clock",
- rtpbin->use_pipeline_clock, NULL);
+ g_object_set (G_OBJECT (((GstRtpBinSession *) sessions->data)->session),
+ "use-pipeline-clock", rtpbin->use_pipeline_clock, NULL);
}
GST_RTP_BIN_UNLOCK (rtpbin);
}