mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
taglist: avoid exposing the lists in tags
This commit is contained in:
parent
713696d0c0
commit
9c312fce48
2 changed files with 0 additions and 23 deletions
|
@ -1403,25 +1403,6 @@ gst_tag_list_copy_value (GValue * dest, const GstTagList * list,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* gst_tag_list_get_value:
|
|
||||||
* @list: list to get the tag from
|
|
||||||
* @tag: tag to read out
|
|
||||||
*
|
|
||||||
* Get the value for the given tag.
|
|
||||||
*
|
|
||||||
* Returns: The #GValue for @tag.
|
|
||||||
*/
|
|
||||||
const GValue *
|
|
||||||
gst_tag_list_get_value (const GstTagList * list, const gchar * tag)
|
|
||||||
{
|
|
||||||
g_return_val_if_fail (GST_IS_TAG_LIST (list), NULL);
|
|
||||||
g_return_val_if_fail (tag != NULL, NULL);
|
|
||||||
|
|
||||||
return gst_structure_get_value ((GstStructure *) list, tag);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* FIXME 0.11: this whole merge function business is overdesigned, and the
|
/* FIXME 0.11: this whole merge function business is overdesigned, and the
|
||||||
* _get_foo() API is misleading as well - how many application developers will
|
* _get_foo() API is misleading as well - how many application developers will
|
||||||
* expect gst_tag_list_get_string (list, GST_TAG_ARTIST, &val) might return a
|
* expect gst_tag_list_get_string (list, GST_TAG_ARTIST, &val) might return a
|
||||||
|
|
|
@ -257,10 +257,6 @@ gboolean gst_tag_list_copy_value (GValue * dest,
|
||||||
const gchar * tag);
|
const gchar * tag);
|
||||||
|
|
||||||
/* simplifications (FIXME: do we want them?) */
|
/* simplifications (FIXME: do we want them?) */
|
||||||
const GValue *
|
|
||||||
gst_tag_list_get_value (const GstTagList * list,
|
|
||||||
const gchar * tag);
|
|
||||||
|
|
||||||
gboolean gst_tag_list_get_boolean (const GstTagList * list,
|
gboolean gst_tag_list_get_boolean (const GstTagList * list,
|
||||||
const gchar * tag,
|
const gchar * tag,
|
||||||
gboolean * value);
|
gboolean * value);
|
||||||
|
|
Loading…
Reference in a new issue