[−][src]Struct gst::PlayBin
Methods
impl PlayBin
[src]
pub fn new(name: &str) -> Option<PlayBin>
[src]
pub fn set_audio_sink(&mut self, audio_sink: &Element)
[src]
pub fn set_subtitle_font_desc(&mut self, font: &str)
[src]
pub fn set_video_sink(&mut self, video_sink: &Element)
[src]
pub fn set_vis_plugin(&mut self, vis_plugin: &Element)
[src]
pub fn set_volume(&mut self, volume: f64)
[src]
pub fn set_connection_speed(&mut self, connection_speed: u64)
[src]
pub fn set_av_offset(&mut self, av_offset: i64)
[src]
pub fn set_buffer_duration(&mut self, buffer_duration: i64)
[src]
pub fn set_current_audio(&mut self, current_audio: i32)
[src]
pub fn set_current_text(&mut self, current_text: i32)
[src]
pub fn mute(&mut self)
[src]
pub fn unmute(&mut self)
[src]
pub fn set_ring_buffer_max_size(&mut self, ring_buffer_max_size: u64)
[src]
pub fn set_source(&mut self, source: &Element)
[src]
pub fn set_subtitle_encoding(&mut self, encoding: &str)
[src]
pub fn set_suburi(&mut self, suburi: &str)
[src]
pub fn set_text_sink(&mut self, textsink: &Element)
[src]
pub fn set_uri(&mut self, uri: &str)
[src]
pub fn set_force_aspect_ratio(&mut self, force_aspect_ratio: bool)
[src]
pub fn set_audio_stream_combiner(&mut self, audio_stream_combiner: &Element)
[src]
pub fn set_video_stream_combiner(&mut self, video_stream_combiner: &Element)
[src]
pub fn set_flags(&mut self, flags: i32)
[src]
Methods from Deref<Target = Pipeline>
pub fn bus(&self) -> Option<Bus>
[src]
Gets the GstBus of pipeline . The bus allows applications to receive Message packets.
pub fn delay(&self) -> GstClockTime
[src]
Get the configured delay (see set_delay()).
pub fn set_delay(&mut self, delay: GstClockTime)
[src]
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]
Returns a const raw pointer to the internal GstElement
pub unsafe fn gst_pipeline_mut(&mut self) -> *mut GstPipeline
[src]
Returns a mut raw pointer to the internal GstElement
Trait Implementations
impl Transfer<Struct__GstElement> for PlayBin
[src]
unsafe fn transfer(self) -> *mut GstElement
[src]
impl AsMut<Pipeline> for PlayBin
[src]
impl Sync for PlayBin
[src]
impl AsRef<Pipeline> for PlayBin
[src]
impl Send for PlayBin
[src]
impl From<PlayBin> for Pipeline
[src]
impl Deref for PlayBin
[src]
impl DerefMut for PlayBin
[src]
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,