taglist: avoid exposing the lists in tags
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Jan 2012 13:43:05 +0000 (14:43 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Jan 2012 13:43:05 +0000 (14:43 +0100)
gst/gsttaglist.c
gst/gsttaglist.h

index ff5ee48..8c1f693 100644 (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
index c075978..00a2770 100644 (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);