Struct gst::PlayBin [−][src]
pub struct PlayBin { /* fields omitted */ }
Methods
impl PlayBin
[src]
impl PlayBin
pub fn new(name: &str) -> Option<PlayBin>
[src]
pub fn new(name: &str) -> Option<PlayBin>
pub fn set_audio_sink(&mut self, audio_sink: &Element)
[src]
pub fn set_audio_sink(&mut self, audio_sink: &Element)
pub fn set_subtitle_font_desc(&mut self, font: &str)
[src]
pub fn set_subtitle_font_desc(&mut self, font: &str)
pub fn set_video_sink(&mut self, video_sink: &Element)
[src]
pub fn set_video_sink(&mut self, video_sink: &Element)
pub fn set_vis_plugin(&mut self, vis_plugin: &Element)
[src]
pub fn set_vis_plugin(&mut self, vis_plugin: &Element)
pub fn set_volume(&mut self, volume: f64)
[src]
pub fn set_volume(&mut self, volume: f64)
pub fn set_connection_speed(&mut self, connection_speed: u64)
[src]
pub fn set_connection_speed(&mut self, connection_speed: u64)
pub fn set_av_offset(&mut self, av_offset: i64)
[src]
pub fn set_av_offset(&mut self, av_offset: i64)
pub fn set_buffer_duration(&mut self, buffer_duration: i64)
[src]
pub fn set_buffer_duration(&mut self, buffer_duration: i64)
pub fn set_current_audio(&mut self, current_audio: i32)
[src]
pub fn set_current_audio(&mut self, current_audio: i32)
pub fn set_current_text(&mut self, current_text: i32)
[src]
pub fn set_current_text(&mut self, current_text: i32)
pub fn mute(&mut self)
[src]
pub fn mute(&mut self)
pub fn unmute(&mut self)
[src]
pub fn unmute(&mut self)
pub fn set_ring_buffer_max_size(&mut self, ring_buffer_max_size: u64)
[src]
pub fn set_ring_buffer_max_size(&mut self, ring_buffer_max_size: u64)
pub fn set_source(&mut self, source: &Element)
[src]
pub fn set_source(&mut self, source: &Element)
pub fn set_subtitle_encoding(&mut self, encoding: &str)
[src]
pub fn set_subtitle_encoding(&mut self, encoding: &str)
pub fn set_suburi(&mut self, suburi: &str)
[src]
pub fn set_suburi(&mut self, suburi: &str)
pub fn set_text_sink(&mut self, textsink: &Element)
[src]
pub fn set_text_sink(&mut self, textsink: &Element)
pub fn set_uri(&mut self, uri: &str)
[src]
pub fn set_uri(&mut self, uri: &str)
pub fn set_force_aspect_ratio(&mut self, force_aspect_ratio: bool)
[src]
pub fn set_force_aspect_ratio(&mut self, force_aspect_ratio: bool)
pub fn set_audio_stream_combiner(&mut self, audio_stream_combiner: &Element)
[src]
pub fn set_audio_stream_combiner(&mut self, audio_stream_combiner: &Element)
pub fn set_video_stream_combiner(&mut self, video_stream_combiner: &Element)
[src]
pub fn set_video_stream_combiner(&mut self, video_stream_combiner: &Element)
pub fn set_flags(&mut self, flags: i32)
[src]
pub fn set_flags(&mut self, flags: i32)
Methods from Deref<Target = Pipeline>
pub fn bus(&self) -> Option<Bus>
[src]
pub fn bus(&self) -> Option<Bus>
Gets the GstBus of pipeline . The bus allows applications to receive Message packets.
pub fn delay(&self) -> GstClockTime
[src]
pub fn delay(&self) -> GstClockTime
Get the configured delay (see set_delay()).
pub fn set_delay(&mut self, delay: GstClockTime)
[src]
pub 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.
pub unsafe fn gst_pipeline(&self) -> *const GstPipeline
[src]
pub unsafe fn gst_pipeline(&self) -> *const GstPipeline
Returns a const raw pointer to the internal GstElement
pub unsafe fn gst_pipeline_mut(&mut self) -> *mut GstPipeline
[src]
pub 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 Sync for PlayBin
impl Send for PlayBin
[src]
impl Send for PlayBin
impl Transfer for PlayBin
[src]
impl Transfer for PlayBin
unsafe fn transfer(self) -> *mut GstElement
[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 Reference for PlayBin
[src]
impl Reference for PlayBin
impl AsRef<Pipeline> for PlayBin
[src]
impl AsRef<Pipeline> for PlayBin
impl AsMut<Pipeline> for PlayBin
[src]
impl AsMut<Pipeline> for PlayBin
impl From<PlayBin> for Pipeline
[src]
impl From<PlayBin> for Pipeline
impl Deref for PlayBin
[src]
impl Deref for PlayBin
type Target = Pipeline
The resulting type after dereferencing.
fn deref(&self) -> &Pipeline
[src]
fn deref(&self) -> &Pipeline
Dereferences the value.
impl DerefMut for PlayBin
[src]
impl DerefMut for PlayBin