diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index ff5ee48de8..8c1f69372a 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -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 diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index c0759784fd..00a2770f51 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -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);