appsink: property should use hyphen not underscore

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1283>
This commit is contained in:
Li Yuanheng 2023-06-28 13:53:38 +08:00
parent a66fc95d2a
commit 1bc197db79

View file

@ -1158,7 +1158,7 @@ impl AppSinkBuilder {
pub fn wait_on_eos(self, wait_on_eos: bool) -> Self {
Self {
builder: self.builder.property("wait_on_eos", wait_on_eos),
builder: self.builder.property("wait-on-eos", wait_on_eos),
..self
}
}