mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
utils: streamproducer: fix set_forward_events() doc
The events are forwarded from the appsink to the appsrcs. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1495>
This commit is contained in:
parent
db446f3f46
commit
240982086b
1 changed files with 1 additions and 1 deletions
|
@ -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<Item = gst::EventType>) {
|
||||
self.consumers.lock().unwrap().events_to_forward = events_to_forward.into_iter().collect();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue