Sets our main struct and passes it to the parent class
Creates a new empty GstTagList. Free-function: gst_tag_list_unref
Just like gst_tag_list_new(), only that it takes a va_list argument. Useful mostly for language bindings. Free-function: gst_tag_list_unref
Deserializes a tag list.
Sets the values for the given tags using the specified mode.
Sets the GValues for the given tags using the specified mode.
Sets the GValue for a given tag using the specified mode.
Creates a new GstTagList as a copy of the old taglist. The new taglist will have a refcount of 1, owned by the caller, and will be writable as a result. Note that this function is the semantic equivalent of a gst_tag_list_ref() followed by a gst_tag_list_make_writable(). If you only want to hold on to a reference to the data, you should use gst_tag_list_ref(). When you are finished with the taglist, call gst_tag_list_unref() on it.
Add a reference to a GstTagList mini object. From this point on, until the caller calls gst_tag_list_unref() or gst_tag_list_make_writable(), it is guaranteed that the taglist object will not change. To use a GstTagList object, you must always have a refcount on it -- either the one made implicitly by e.g. gst_tag_list_new(), or via taking one explicitly with this function.
Calls the given function for each tag inside the tag list. Note that if there is no tag, the function won't be called at all.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Copies the first date for the given tag in the taglist into the variable pointed to by value. Free the date with g_date_free() when it is no longer needed. Free-function: g_date_free
Gets the date that is at the given index for the given tag in the given list and copies it into the variable pointed to by value. Free the date with g_date_free() when it is no longer needed. Free-function: g_date_free
Copies the first datetime for the given tag in the taglist into the variable pointed to by value. Unref the date with gst_date_time_unref() when it is no longer needed. Free-function: gst_date_time_unref
Gets the datetime that is at the given index for the given tag in the given list and copies it into the variable pointed to by value. Unref the datetime with gst_date_time_unref() when it is no longer needed. Free-function: gst_date_time_unref
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Gets the value that is at the given index for the given tag in the given list.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Copies the first sample for the given tag in the taglist into the variable pointed to by sample. Free the sample with gst_sample_unref() when it is no longer needed. You can retrieve the buffer from the sample using gst_sample_get_buffer() and the associated caps (if any) with gst_sample_get_caps(). Free-function: gst_sample_unref
Gets the sample that is at the given index for the given tag in the given list and copies it into the variable pointed to by smple. Free the sample with gst_sample_unref() when it is no longer needed. You can retrieve the buffer from the sample using gst_sample_get_buffer() and the associated caps (if any) with gst_sample_get_caps(). Free-function: gst_sample_unref
Gets the scope of list.
Copies the contents for the given tag into the value, possibly merging multiple values into one if multiple values are associated with the tag. Use gst_tag_list_get_string_index (list, tag, 0, value) if you want to retrieve the first string associated with this tag unmodified. The resulting string in value will be in UTF-8 encoding and should be freed by the caller using g_free when no longer needed. The returned string is also guaranteed to be non-NULL and non-empty. Free-function: g_free
Gets the value that is at the given index for the given tag in the given list. The resulting string in value will be in UTF-8 encoding and should be freed by the caller using g_free when no longer needed. The returned string is also guaranteed to be non-NULL and non-empty. Free-function: g_free
the main Gtk struct as a void*
Get the main Gtk struct
Checks how many value are stored in this tag list for the given tag.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Gets the value that is at the given index for the given tag in the given list.
Gets the value that is at the given index for the given tag in the given list.
Gets the value that is at the given index for the given tag in the given list.
Inserts the tags of the from list into the first list using the given mode.
Checks if the given taglist is empty.
Checks if the two given taglists are equal.
Merges the two given lists into a new list. If one of the lists is NULL, a copy of the other is returned. If both lists are NULL, NULL is returned. Free-function: gst_tag_list_unref
Get the number of tags in list.
Get the name of the tag in list at index.
Peeks at the value that is at the given index for the given tag in the given list. The resulting string in value will be in UTF-8 encoding and doesn't need to be freed by the caller. The returned string is also guaranteed to be non-NULL and non-empty.
Removes the given tag from the taglist.
Sets the scope of list to scope. By default the scope of a taglist is stream scope.
Serializes a tag list to a string.
Unref a GstTagList, and and free all its memory when the refcount reaches 0.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag. You must g_value_unset() the value after use.
Checks if the given type is already registered.
Returns the human-readable description of this tag, You must not change or free this string.
Gets the flag of tag.
Returns the human-readable name of this tag, You must not change or free this string.
Gets the GType used for this tag.
Checks if the given tag is fixed. A fixed tag can only contain one value. Unfixed tags can contain lists of values.
This is a convenience function for the func argument of gst_tag_register(). It concatenates all given strings using a comma. The tag must be registered as a G_TYPE_STRING or this function will fail.
This is a convenience function for the func argument of gst_tag_register(). It creates a copy of the first value from the list.
Registers a new tag type for the use with GStreamer's type system. If a type with that name is already registered, that one is used. The old registration may have used a different type however. So don't rely on your supplied values. Important: if you do not supply a merge function the implication will be that there can only be one single value for this tag in a tag list and any additional values will silenty be discarded when being added (unless GST_TAG_MERGE_REPLACE, GST_TAG_MERGE_REPLACE_ALL, or GST_TAG_MERGE_PREPEND is used as merge mode, in which case the new value will replace the old one in the list). The merge function will be called from gst_tag_list_copy_value() when it is required that one or more values for a tag be condensed into one single value. This may happen from gst_tag_list_get_string(), gst_tag_list_get_int(), gst_tag_list_get_double() etc. What will happen exactly in that case depends on how the tag was registered and if a merge function was supplied and if so which one. Two default merge functions are provided: gst_tag_merge_use_first() and gst_tag_merge_strings_with_comma().
Registers a new tag type for the use with GStreamer's type system. Same as gst_tag_register(), but name, nick, and blurb must be static strings or inlined strings, as they will not be copied. (GStreamer plugins will be made resident once loaded, so this function can be used even from dynamically loaded plugins.)
the main Gtk struct
List of tags and values used to describe media metadata.
Strings must be in ASCII or UTF-8 encoding. No other encodings are allowed.
Last reviewed on 2009-06-09 (0.10.23)