mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
rtpbin: set use-pipeline-clock on correct GObject
This commit is contained in:
parent
94e87ef8ee
commit
f38e37470a
1 changed files with 2 additions and 2 deletions
|
@ -1823,8 +1823,8 @@ gst_rtp_bin_set_property (GObject * object, guint prop_id,
|
||||||
rtpbin->use_pipeline_clock = g_value_get_boolean (value);
|
rtpbin->use_pipeline_clock = g_value_get_boolean (value);
|
||||||
for (sessions = rtpbin->sessions; sessions;
|
for (sessions = rtpbin->sessions; sessions;
|
||||||
sessions = g_slist_next (sessions)) {
|
sessions = g_slist_next (sessions)) {
|
||||||
g_object_set (G_OBJECT (sessions->data), "use-pipeline-clock",
|
g_object_set (G_OBJECT (((GstRtpBinSession *) sessions->data)->session),
|
||||||
rtpbin->use_pipeline_clock, NULL);
|
"use-pipeline-clock", rtpbin->use_pipeline_clock, NULL);
|
||||||
}
|
}
|
||||||
GST_RTP_BIN_UNLOCK (rtpbin);
|
GST_RTP_BIN_UNLOCK (rtpbin);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue