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(); }