From 3dab797c3247f8401f02adbce0c2fdd9eea38802 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 452779840..ea4914a8a 100644 --- a/gstreamer-utils/src/streamproducer.rs +++ b/gstreamer-utils/src/streamproducer.rs @@ -393,7 +393,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(); }