taglist: avoid exposing the lists in tags

This commit is contained in:
Wim Taymans 2012-01-03 14:43:05 +01:00
parent 713696d0c0
commit 9c312fce48
2 changed files with 0 additions and 23 deletions

View file

@ -1403,25 +1403,6 @@ gst_tag_list_copy_value (GValue * dest, const GstTagList * list,
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
* _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

View file

@ -257,10 +257,6 @@ gboolean gst_tag_list_copy_value (GValue * dest,
const gchar * tag);
/* 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,
const gchar * tag,
gboolean * value);