pub trait VideoDecoderImplExt: VideoDecoderImpl {
Show 19 methods
    // Provided methods
    fn parent_open(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_close(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_finish(&self) -> Result<FlowSuccess, FlowError> { ... }
    fn parent_drain(&self) -> Result<FlowSuccess, FlowError> { ... }
    fn parent_set_format(
        &self,
        state: &VideoCodecState<'static, Readable>,
    ) -> Result<(), LoggableError> { ... }
    fn parent_parse(
        &self,
        frame: &VideoCodecFrame<'_>,
        adapter: &Adapter,
        at_eos: bool,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn parent_handle_frame(
        &self,
        frame: VideoCodecFrame<'_>,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn parent_flush(&self) -> bool { ... }
    fn parent_negotiate(&self) -> Result<(), LoggableError> { ... }
    fn parent_caps(&self, filter: Option<&Caps>) -> Caps { ... }
    fn parent_sink_event(&self, event: Event) -> bool { ... }
    fn parent_sink_query(&self, query: &mut QueryRef) -> bool { ... }
    fn parent_src_event(&self, event: Event) -> bool { ... }
    fn parent_src_query(&self, query: &mut QueryRef) -> bool { ... }
    fn parent_propose_allocation(
        &self,
        query: &mut Allocation,
    ) -> Result<(), LoggableError> { ... }
    fn parent_decide_allocation(
        &self,
        query: &mut Allocation,
    ) -> Result<(), LoggableError> { ... }
    fn parent_handle_missing_data(
        &self,
        timestamp: ClockTime,
        duration: Option<ClockTime>,
    ) -> bool { ... }
}Provided Methods§
fn parent_open(&self) -> Result<(), ErrorMessage>
fn parent_close(&self) -> Result<(), ErrorMessage>
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_finish(&self) -> Result<FlowSuccess, FlowError>
fn parent_drain(&self) -> Result<FlowSuccess, FlowError>
fn parent_set_format( &self, state: &VideoCodecState<'static, Readable>, ) -> Result<(), LoggableError>
fn parent_parse( &self, frame: &VideoCodecFrame<'_>, adapter: &Adapter, at_eos: bool, ) -> Result<FlowSuccess, FlowError>
fn parent_handle_frame( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError>
fn parent_flush(&self) -> bool
fn parent_negotiate(&self) -> Result<(), LoggableError>
fn parent_caps(&self, filter: Option<&Caps>) -> Caps
fn parent_sink_event(&self, event: Event) -> bool
fn parent_sink_query(&self, query: &mut QueryRef) -> bool
fn parent_src_event(&self, event: Event) -> bool
fn parent_src_query(&self, query: &mut QueryRef) -> bool
fn parent_propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn parent_handle_missing_data( &self, timestamp: ClockTime, duration: Option<ClockTime>, ) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.