From 0ff6a4eda899461aa21a876033edc42f5b048bc7 Mon Sep 17 00:00:00 2001 From: Sergey Mamonov Date: Mon, 27 Mar 2017 19:08:09 +0000 Subject: fsrtpsession: Set discovery valve to dropping on creation Although it should do nothing, it seems to improve CPU usage. https://bugs.freedesktop.org/show_bug.cgi?id=100412 --- gst/fsrtpconference/fs-rtp-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst') diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c index ee0225f2..86eefbb4 100644 --- a/gst/fsrtpconference/fs-rtp-session.c +++ b/gst/fsrtpconference/fs-rtp-session.c @@ -1454,6 +1454,8 @@ fs_rtp_session_constructed (GObject *object) return; } + g_object_set (self->priv->discovery_valve, "drop", TRUE, NULL); + if (!gst_bin_add (GST_BIN (self->priv->conference), self->priv->discovery_valve)) { -- cgit v1.2.1