appsink: property should use hyphen not underscore

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1290>
This commit is contained in:
Li Yuanheng 2023-06-28 13:53:38 +08:00 committed by Sebastian Dröge
parent b9a9464301
commit cbe627fe8b

View file

@ -1090,7 +1090,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
}
}