From 3d82f9cb652b535bed7513b7c658f9a6059953c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 May 2023 10:00:58 +0300 Subject: [PATCH] gstreamer-app: appsink: Remove duplicated and misnamed callbacks builder function Part-of: --- gstreamer-app/src/app_sink.rs | 12 ------------ 1 file changed, 12 deletions(-) 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 {