From a7a6229718f5368f1e3826d824c3fc73282ff978 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 30 Jul 2024 10:47:15 +0200 Subject: [PATCH] utils: streamproducer: fix set_forward_events() doc The events are forwarded from the appsink to the appsrcs. Part-of: --- gstreamer-utils/src/streamproducer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-utils/src/streamproducer.rs b/gstreamer-utils/src/streamproducer.rs index 2af61276f..5d72c7c21 100644 --- a/gstreamer-utils/src/streamproducer.rs +++ b/gstreamer-utils/src/streamproducer.rs @@ -359,7 +359,7 @@ impl StreamProducer { } } - /// configure event types the appsrc should forward to all consumers (default: `Eos`). + /// configure event types the appsink should forward to all its consumers (default: `Eos`). pub fn set_forward_events(&self, events_to_forward: impl IntoIterator) { self.consumers.lock().unwrap().events_to_forward = events_to_forward.into_iter().collect(); }