Struct gst::PlayBin [] [src]

pub struct PlayBin {
    // some fields omitted
}

Methods

impl PlayBin
[src]

fn new(name: &str) -> Option<PlayBin>

fn set_audio_sink(&self, audio_sink: &ElementT)

fn set_subtitle_font_desc(&self, font: &str)

fn set_video_sink(&self, video_sink: &ElementT)

fn set_vis_plugin(&self, vis_plugin: &ElementT)

fn set_volume(&self, volume: f64)

fn set_connection_speed(&self, connection_speed: u64)

fn set_av_offset(&self, av_offset: i64)

fn set_buffer_duration(&self, buffer_duration: i64)

fn set_current_audio(&self, current_audio: i32)

fn set_current_text(&self, current_text: i32)

fn mute(&self)

fn unmute(&self)

fn set_ring_buffer_max_size(&self, ring_buffer_max_size: u64)

fn set_source(&self, source: &ElementT)

fn set_subtitle_encoding(&self, encoding: &str)

fn set_suburi(&self, suburi: &str)

fn set_text_sink(&self, textsink: &ElementT)

fn set_uri(&self, uri: &str)

fn set_force_aspect_ratio(&self, force_aspect_ratio: bool)

fn set_audio_stream_combiner(&self, audio_stream_combiner: &ElementT)

fn set_video_stream_combiner(&self, video_stream_combiner: &ElementT)

fn set_flags(&self, flags: i32)

Trait Implementations

impl Sync for PlayBin
[src]

impl Send for PlayBin
[src]

impl PipelineT for PlayBin
[src]

fn as_pipeline(&self) -> &Pipeline

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

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. Read more

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

impl Transfer for PlayBin
[src]

unsafe fn transfer(self) -> *mut GstElement

Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more