Trait gstreamer::prelude::TocSetterExt[][src]

pub trait TocSetterExt: 'static {
    fn toc(&self) -> Option<Toc>;
fn reset(&self);
fn set_toc(&self, toc: Option<&Toc>); }

Trait containing all TocSetter methods.

Implementors

crate::TocSetter

Required methods

fn toc(&self) -> Option<Toc>[src]

Return current TOC the setter uses. The TOC should not be modified without making it writable first.

Returns

TOC set, or None. Unref with gst_toc_unref() when no longer needed

fn reset(&self)[src]

Reset the internal TOC. Elements should call this from within the state-change handler.

fn set_toc(&self, toc: Option<&Toc>)[src]

Set the given TOC on the setter. Previously set TOC will be unreffed before setting a new one.

toc

a crate::Toc to set.

Loading content...

Implementors

impl<O: IsA<TocSetter>> TocSetterExt for O[src]

fn toc(&self) -> Option<Toc>[src]

fn reset(&self)[src]

fn set_toc(&self, toc: Option<&Toc>)[src]

Loading content...