Trait gst::PipelineT [] [src]

pub trait PipelineT: BinT {
    fn as_pipeline(&self) -> &Pipeline;
    fn as_pipeline_mut(&mut self) -> &mut Pipeline;

    fn to_pipeline(&self) -> Pipeline { ... }
    fn delay(&self) -> GstClockTime { ... }
    fn set_delay(&mut self, delay: GstClockTime) { ... }
    unsafe fn gst_pipeline(&self) -> *const GstPipeline { ... }
    unsafe fn gst_pipeline_mut(&mut self) -> *mut GstPipeline { ... }
}

Required Methods

fn as_pipeline(&self) -> &Pipeline

fn as_pipeline_mut(&mut self) -> &mut Pipeline

Provided Methods

fn to_pipeline(&self) -> Pipeline

fn delay(&self) -> GstClockTime

Get the configured delay (see set_delay()).

fn set_delay(&mut self, delay: GstClockTime)

Set the expected delay needed for all elements to perform the PAUSED to PLAYING state change. delay will be added to the base time of the elements so that they wait an additional delay amount of time before starting to process buffers and cannot be GST_CLOCK_TIME_NONE.

This option is used for tuning purposes and should normally not be used.

unsafe fn gst_pipeline(&self) -> *const GstPipeline

Returns a const raw pointer to the internal GstElement

unsafe fn gst_pipeline_mut(&mut self) -> *mut GstPipeline

Returns a mut raw pointer to the internal GstElement

Implementors