utils: streamproducer: document forward_eos default value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1226>
This commit is contained in:
Guillaume Desmottes 2023-02-28 09:48:36 +01:00
parent 0b922b0e89
commit 32a02b51e1

View file

@ -235,7 +235,7 @@ impl StreamProducer {
}
}
/// configure if EOS from appsrc should be forwarded to all the consumers
/// configure if EOS from appsrc should be forwarded to all the consumers (default: `true`)
pub fn set_forward_eos(&self, forward_eos: bool) {
self.consumers.lock().unwrap().forward_eos = forward_eos;
}