[][src]Trait gstreamer_base::subclass::aggregator::AggregatorImpl

pub trait AggregatorImpl: AggregatorImplExt + ElementImpl + Send + Sync + 'static {
    fn aggregate(
        &self,
        aggregator: &Aggregator,
        timeout: bool
    ) -> Result<FlowSuccess, FlowError>; fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError> { ... }
fn clip(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        buffer: Buffer
    ) -> Option<Buffer> { ... }
fn finish_buffer(
        &self,
        aggregator: &Aggregator,
        buffer: Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn sink_event(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        event: Event
    ) -> bool { ... }
fn sink_query(
        &self,
        aggregator: &Aggregator,
        aggregator_pad: &AggregatorPad,
        query: &mut QueryRef
    ) -> bool { ... }
fn src_event(&self, aggregator: &Aggregator, event: Event) -> bool { ... }
fn src_query(&self, aggregator: &Aggregator, query: &mut QueryRef) -> bool { ... }
fn src_activate(
        &self,
        aggregator: &Aggregator,
        mode: PadMode,
        active: bool
    ) -> Result<(), LoggableError> { ... }
fn start(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage> { ... }
fn stop(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage> { ... }
fn get_next_time(&self, aggregator: &Aggregator) -> ClockTime { ... }
fn create_new_pad(
        &self,
        aggregator: &Aggregator,
        templ: &PadTemplate,
        req_name: Option<&str>,
        caps: Option<&Caps>
    ) -> Option<AggregatorPad> { ... }
fn update_src_caps(
        &self,
        aggregator: &Aggregator,
        caps: &Caps
    ) -> Result<Caps, FlowError> { ... }
fn fixate_src_caps(&self, aggregator: &Aggregator, caps: Caps) -> Caps { ... }
fn negotiated_src_caps(
        &self,
        aggregator: &Aggregator,
        caps: &Caps
    ) -> Result<(), LoggableError> { ... } }

Required methods

fn aggregate(
    &self,
    aggregator: &Aggregator,
    timeout: bool
) -> Result<FlowSuccess, FlowError>

Loading content...

Provided methods

fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError>

fn clip(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    buffer: Buffer
) -> Option<Buffer>

fn finish_buffer(
    &self,
    aggregator: &Aggregator,
    buffer: Buffer
) -> Result<FlowSuccess, FlowError>

fn sink_event(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    event: Event
) -> bool

fn sink_query(
    &self,
    aggregator: &Aggregator,
    aggregator_pad: &AggregatorPad,
    query: &mut QueryRef
) -> bool

fn src_event(&self, aggregator: &Aggregator, event: Event) -> bool

fn src_query(&self, aggregator: &Aggregator, query: &mut QueryRef) -> bool

fn src_activate(
    &self,
    aggregator: &Aggregator,
    mode: PadMode,
    active: bool
) -> Result<(), LoggableError>

fn start(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage>

fn stop(&self, aggregator: &Aggregator) -> Result<(), ErrorMessage>

fn get_next_time(&self, aggregator: &Aggregator) -> ClockTime

fn create_new_pad(
    &self,
    aggregator: &Aggregator,
    templ: &PadTemplate,
    req_name: Option<&str>,
    caps: Option<&Caps>
) -> Option<AggregatorPad>

fn update_src_caps(
    &self,
    aggregator: &Aggregator,
    caps: &Caps
) -> Result<Caps, FlowError>

fn fixate_src_caps(&self, aggregator: &Aggregator, caps: Caps) -> Caps

fn negotiated_src_caps(
    &self,
    aggregator: &Aggregator,
    caps: &Caps
) -> Result<(), LoggableError>

Loading content...

Implementors

Loading content...