rtpbin: set use-pipeline-clock on correct GObject

This commit is contained in:
Thijs Vermeir 2010-09-13 14:38:11 +02:00
parent 94e87ef8ee
commit f38e37470a

View file

@ -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);
}