Trait gstreamer::prelude::TagSetterExt
source · pub trait TagSetterExt:
IsA<TagSetter>
+ Sealed
+ 'static {
// Provided methods
fn tag_list(&self) -> Option<TagList> { ... }
fn tag_merge_mode(&self) -> TagMergeMode { ... }
fn merge_tags(&self, list: &TagList, mode: TagMergeMode) { ... }
fn reset_tags(&self) { ... }
fn set_tag_merge_mode(&self, mode: TagMergeMode) { ... }
}
Provided Methods§
sourcefn tag_merge_mode(&self) -> TagMergeMode
fn tag_merge_mode(&self) -> TagMergeMode
Queries the mode by which tags inside the setter are overwritten by tags from events
§Returns
the merge mode used inside the element.
Reset the internal taglist. Elements should call this from within the state-change handler.
sourcefn set_tag_merge_mode(&self, mode: TagMergeMode)
fn set_tag_merge_mode(&self, mode: TagMergeMode)
Sets the given merge mode that is used for adding tags from events to tags
specified by this interface. The default is TagMergeMode::Keep
, which keeps
the tags set with this interface and discards tags from events.
§mode
The mode with which tags are added
Object Safety§
This trait is not object safe.