Struct gst::PlayBin [] [src]

pub struct PlayBin {
    // some fields omitted
}

Methods

impl PlayBin
[src]

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

fn set_audio_sink(&mut self, audio_sink: &Element)

fn set_subtitle_font_desc(&mut self, font: &str)

fn set_video_sink(&mut self, video_sink: &Element)

fn set_vis_plugin(&mut self, vis_plugin: &Element)

fn set_volume(&mut self, volume: f64)

fn set_connection_speed(&mut self, connection_speed: u64)

fn set_av_offset(&mut self, av_offset: i64)

fn set_buffer_duration(&mut self, buffer_duration: i64)

fn set_current_audio(&mut self, current_audio: i32)

fn set_current_text(&mut self, current_text: i32)

fn mute(&mut self)

fn unmute(&mut self)

fn set_ring_buffer_max_size(&mut self, ring_buffer_max_size: u64)

fn set_source(&mut self, source: &Element)

fn set_subtitle_encoding(&mut self, encoding: &str)

fn set_suburi(&mut self, suburi: &str)

fn set_text_sink(&mut self, textsink: &Element)

fn set_uri(&mut self, uri: &str)

fn set_force_aspect_ratio(&mut self, force_aspect_ratio: bool)

fn set_audio_stream_combiner(&mut self, audio_stream_combiner: &Element)

fn set_video_stream_combiner(&mut self, video_stream_combiner: &Element)

fn set_flags(&mut self, flags: i32)

Methods from Deref<Target=Pipeline>

fn bus(&self) -> Option<Bus>

Gets the GstBus of pipeline . The bus allows applications to receive Message packets.

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

Trait Implementations

impl Sync for PlayBin
[src]

impl Send for PlayBin
[src]

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

impl AsRef<Pipeline> for PlayBin
[src]

fn as_ref(&self) -> &Pipeline

Performs the conversion.

impl AsMut<Pipeline> for PlayBin
[src]

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

Performs the conversion.

impl Deref for PlayBin
[src]

type Target = Pipeline

The resulting type after dereferencing

fn deref(&self) -> &Pipeline

The method called to dereference a value

impl DerefMut for PlayBin
[src]

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

The method called to mutably dereference a value