rtpbin: small cleanup.

This commit is contained in:
Wim Taymans 2010-09-13 16:03:50 +02:00
parent f62dc6976b
commit 8e1c9b5b33

View file

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