From 420150a4e336adddcf995896dad6bb9e779f99d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 9 Feb 2020 18:22:45 +0200 Subject: [PATCH] base/flow_combiner: UniqueFlowCombiner::clear() should take &mut self It's modifying the state of the combiner and requires a unique, mutable reference. --- gstreamer-base/src/flow_combiner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-base/src/flow_combiner.rs b/gstreamer-base/src/flow_combiner.rs index 8b34ebde2..b974e2f09 100644 --- a/gstreamer-base/src/flow_combiner.rs +++ b/gstreamer-base/src/flow_combiner.rs @@ -111,7 +111,7 @@ impl UniqueFlowCombiner { self.0.add_pad(pad); } - pub fn clear(&self) { + pub fn clear(&mut self) { self.0.clear(); }