pub trait IMFSampleGrabberSinkCallback_Impl: Sized + IMFClockStateSink_Impl {
    // Required methods
    fn OnSetPresentationClock(
        &self,
        ppresentationclock: Option<&IMFPresentationClock>
    ) -> Result<()>;
    fn OnProcessSample(
        &self,
        guidmajormediatype: *const GUID,
        dwsampleflags: u32,
        llsampletime: i64,
        llsampleduration: i64,
        psamplebuffer: *const u8,
        dwsamplesize: u32
    ) -> Result<()>;
    fn OnShutdown(&self) -> Result<()>;
}

Required Methods§

fn OnSetPresentationClock( &self, ppresentationclock: Option<&IMFPresentationClock> ) -> Result<()>

fn OnProcessSample( &self, guidmajormediatype: *const GUID, dwsampleflags: u32, llsampletime: i64, llsampleduration: i64, psamplebuffer: *const u8, dwsamplesize: u32 ) -> Result<()>

fn OnShutdown(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§