Method
ClapperMediaItempopulate_tags
since: 0.10
Declaration [src]
gboolean
clapper_media_item_populate_tags (
ClapperMediaItem* item,
const GstTagList* tags
)
Description [src]
Populate non-existing tags in item tag list.
Passed tags must use GST_TAG_SCOPE_GLOBAL scope.
Note that tags are automatically determined during media playback and those take precedence. This function can be useful if an app can determine some tags that are not in media metadata or for filling item with some initial/cached tags to display in UI before playback.
When a tag already exists in the tag list (was populated) this
function will not overwrite it. If you really need to permanently
override some tags in media, you can use taginject element as
player video/audio filter instead.
Available since: 0.10
Parameters
tags-
Type:
GstTagListA
GstTagListof GLOBAL scope.The data is owned by the caller of the method.