Trait gstreamer_base::subclass::prelude::AggregatorImpl
source · pub trait AggregatorImpl: AggregatorImplExt + ElementImpl {
Show 23 methods
// Provided methods
fn flush(&self) -> Result<FlowSuccess, FlowError> { ... }
fn clip(
&self,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer> { ... }
fn finish_buffer_list(
&self,
buffer_list: BufferList
) -> Result<FlowSuccess, FlowError> { ... }
fn finish_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError> { ... }
fn sink_event(&self, aggregator_pad: &AggregatorPad, event: Event) -> bool { ... }
fn sink_event_pre_queue(
&self,
aggregator_pad: &AggregatorPad,
event: Event
) -> Result<FlowSuccess, FlowError> { ... }
fn sink_query(
&self,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool { ... }
fn sink_query_pre_queue(
&self,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool { ... }
fn src_event(&self, event: Event) -> bool { ... }
fn src_query(&self, query: &mut QueryRef) -> bool { ... }
fn src_activate(
&self,
mode: PadMode,
active: bool
) -> Result<(), LoggableError> { ... }
fn aggregate(&self, timeout: bool) -> Result<FlowSuccess, FlowError> { ... }
fn start(&self) -> Result<(), ErrorMessage> { ... }
fn stop(&self) -> Result<(), ErrorMessage> { ... }
fn next_time(&self) -> Option<ClockTime> { ... }
fn create_new_pad(
&self,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&Caps>
) -> Option<AggregatorPad> { ... }
fn update_src_caps(&self, caps: &Caps) -> Result<Caps, FlowError> { ... }
fn fixate_src_caps(&self, caps: Caps) -> Caps { ... }
fn negotiated_src_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
fn propose_allocation(
&self,
pad: &AggregatorPad,
decide_query: Option<&Allocation>,
query: &mut Allocation
) -> Result<(), LoggableError> { ... }
fn decide_allocation(
&self,
query: &mut Allocation
) -> Result<(), LoggableError> { ... }
fn negotiate(&self) -> bool { ... }
fn peek_next_sample(&self, pad: &AggregatorPad) -> Option<Sample> { ... }
}
Provided Methods§
fn flush(&self) -> Result<FlowSuccess, FlowError>
fn clip(&self, aggregator_pad: &AggregatorPad, buffer: Buffer) -> Option<Buffer>
sourcefn finish_buffer_list(
&self,
buffer_list: BufferList
) -> Result<FlowSuccess, FlowError>
fn finish_buffer_list( &self, buffer_list: BufferList ) -> Result<FlowSuccess, FlowError>
Available on crate feature
v1_18
only.fn finish_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
fn sink_event(&self, aggregator_pad: &AggregatorPad, event: Event) -> bool
sourcefn sink_event_pre_queue(
&self,
aggregator_pad: &AggregatorPad,
event: Event
) -> Result<FlowSuccess, FlowError>
fn sink_event_pre_queue( &self, aggregator_pad: &AggregatorPad, event: Event ) -> Result<FlowSuccess, FlowError>
Available on crate feature
v1_18
only.fn sink_query( &self, aggregator_pad: &AggregatorPad, query: &mut QueryRef ) -> bool
sourcefn sink_query_pre_queue(
&self,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool
fn sink_query_pre_queue( &self, aggregator_pad: &AggregatorPad, query: &mut QueryRef ) -> bool
Available on crate feature
v1_18
only.fn src_event(&self, event: Event) -> bool
fn src_query(&self, query: &mut QueryRef) -> bool
fn src_activate(&self, mode: PadMode, active: bool) -> Result<(), LoggableError>
fn aggregate(&self, timeout: bool) -> Result<FlowSuccess, FlowError>
fn start(&self) -> Result<(), ErrorMessage>
fn stop(&self) -> Result<(), ErrorMessage>
fn next_time(&self) -> Option<ClockTime>
fn create_new_pad( &self, templ: &PadTemplate, req_name: Option<&str>, caps: Option<&Caps> ) -> Option<AggregatorPad>
fn update_src_caps(&self, caps: &Caps) -> Result<Caps, FlowError>
fn fixate_src_caps(&self, caps: Caps) -> Caps
fn negotiated_src_caps(&self, caps: &Caps) -> Result<(), LoggableError>
fn propose_allocation( &self, pad: &AggregatorPad, decide_query: Option<&Allocation>, query: &mut Allocation ) -> Result<(), LoggableError>
fn decide_allocation(&self, query: &mut Allocation) -> Result<(), LoggableError>
sourcefn peek_next_sample(&self, pad: &AggregatorPad) -> Option<Sample>
fn peek_next_sample(&self, pad: &AggregatorPad) -> Option<Sample>
Available on crate feature
v1_18
only.Object Safety§
This trait is not object safe.