Struct gstreamer::TocSetter[]

pub struct TocSetter(_, _);

Element interface that allows setting of the TOC.

Elements that support some kind of chapters or editions (or tracks like in the FLAC cue sheet) will implement this interface.

If you just want to retrieve the TOC in your application then all you need to do is watch for TOC messages on your pipeline's bus (or you can perform TOC query). This interface is only for setting TOC data, not for extracting it. To set TOC from the application, find proper tocsetter element and set TOC using TocSetter::set_toc.

Elements implementing the TocSetter interface can extend existing TOC by getting extend UID for that (you can use Toc::find_entry to retrieve it) with any TOC entries received from downstream.

Implements

TocSetterExt, ElementExt, GstObjectExt, glib::object::ObjectExt

Trait Implementations

impl Clone for TocSetter

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for TocSetter

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for TocSetter

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl StaticType for TocSetter

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for TocSetter

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TocSetter

impl<T: IsA<Object>> PartialOrd<T> for TocSetter

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for TocSetter

Formats the value using the given formatter. Read more

impl IsA<Element> for TocSetter

impl IsA<Object> for TocSetter

impl IsA<Object> for TocSetter

impl Send for TocSetter
[src]

impl Sync for TocSetter
[src]