diff --git a/gstreamer-app/src/app_sink.rs b/gstreamer-app/src/app_sink.rs index 071d59e58..35b20ba5e 100644 --- a/gstreamer-app/src/app_sink.rs +++ b/gstreamer-app/src/app_sink.rs @@ -95,18 +95,6 @@ impl AppSinkCallbacksBuilder { } } - pub fn new_propose_allocation< - F: FnMut(&AppSink) -> Result + Send + 'static, - >( - self, - new_sample: F, - ) -> Self { - Self { - new_sample: Some(Box::new(new_sample)), - ..self - } - } - #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] pub fn new_event bool + Send + 'static>(self, new_event: F) -> Self {