forked from mirrors/gstreamer-rs
gstreamer-app: appsink: Remove duplicated and misnamed callbacks builder function
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1257>
This commit is contained in:
parent
3699da7314
commit
3d82f9cb65
1 changed files with 0 additions and 12 deletions
|
@ -95,18 +95,6 @@ impl AppSinkCallbacksBuilder {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_propose_allocation<
|
||||
F: FnMut(&AppSink) -> Result<gst::FlowSuccess, gst::FlowError> + 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<F: FnMut(&AppSink) -> bool + Send + 'static>(self, new_event: F) -> Self {
|
||||
|
|
Loading…
Reference in a new issue