diff --git a/gstreamer-app/src/app_sink.rs b/gstreamer-app/src/app_sink.rs index 7784b9e3f..584b71693 100644 --- a/gstreamer-app/src/app_sink.rs +++ b/gstreamer-app/src/app_sink.rs @@ -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 } }