Struct gstreamer_app::app_sink::AppSinkCallbacksBuilder
source · pub struct AppSinkCallbacksBuilder { /* private fields */ }
Implementations§
source§impl AppSinkCallbacksBuilder
impl AppSinkCallbacksBuilder
pub fn eos<F: FnMut(&AppSink) + Send + 'static>(self, eos: F) -> Self
pub fn new_preroll<F: FnMut(&AppSink) -> Result<FlowSuccess, FlowError> + Send + 'static>(
self,
new_preroll: F
) -> Self
pub fn new_sample<F: FnMut(&AppSink) -> Result<FlowSuccess, FlowError> + Send + 'static>(
self,
new_sample: F
) -> Self
pub fn new_event<F: FnMut(&AppSink) -> bool + Send + 'static>(
self,
new_event: F
) -> Self
Available on crate feature
v1_20
only.