From: Tim-Philipp Müller Date: Mon, 31 Oct 2011 23:32:17 +0000 (+0000) Subject: taglist: remove gst_tag_list_get_*long*() X-Git-Tag: RELEASE-0.11.2~550 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f19b7d1125d60c4f5fad1f944f846b133c3e73c5;p=platform%2Fupstream%2Fgstreamer.git taglist: remove gst_tag_list_get_*long*() No one uses this or should ever need to use it, since the size is architecture-specific anyway. If normal integers don't do, one should use 64-bit integers. --- diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 4b7c957..0061b2d 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -2464,10 +2464,6 @@ gst_tag_list_get_int gst_tag_list_get_int_index gst_tag_list_get_uint gst_tag_list_get_uint_index -gst_tag_list_get_long -gst_tag_list_get_long_index -gst_tag_list_get_ulong -gst_tag_list_get_ulong_index gst_tag_list_get_int64 gst_tag_list_get_int64_index gst_tag_list_get_uint64 diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 22841bb..f8651b1 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -1533,70 +1533,6 @@ TAG_MERGE_FUNCS (int, gint, TRUE); */ TAG_MERGE_FUNCS (uint, guint, TRUE); /** - * gst_tag_list_get_long: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @value: (out): location for the result - * - * Copies the contents for the given tag into the value, merging multiple values - * into one if multiple values are associated with the tag. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -/** - * gst_tag_list_get_long_index: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @index: number of entry to read out - * @value: (out): location for the result - * - * Gets the value that is at the given index for the given tag in the given - * list. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -TAG_MERGE_FUNCS (long, glong, TRUE); -/** - * gst_tag_list_get_ulong: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @value: (out): location for the result - * - * Copies the contents for the given tag into the value, merging multiple values - * into one if multiple values are associated with the tag. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -/** - * gst_tag_list_get_ulong_index: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @index: number of entry to read out - * @value: (out): location for the result - * - * Gets the value that is at the given index for the given tag in the given - * list. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -TAG_MERGE_FUNCS (ulong, gulong, TRUE); -/** - * gst_tag_list_get_int64: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @value: (out): location for the result - * - * Copies the contents for the given tag into the value, merging multiple values - * into one if multiple values are associated with the tag. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -/** * gst_tag_list_get_int64_index: * @list: a #GstTagList to get the tag from * @tag: tag to read out diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 17737ed..e9c02a0 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -289,20 +289,6 @@ gboolean gst_tag_list_get_uint_index (const GstTagList * list, const gchar * tag, guint index, guint * value); -gboolean gst_tag_list_get_long (const GstTagList * list, - const gchar * tag, - glong * value); -gboolean gst_tag_list_get_long_index (const GstTagList * list, - const gchar * tag, - guint index, - glong * value); -gboolean gst_tag_list_get_ulong (const GstTagList * list, - const gchar * tag, - gulong * value); -gboolean gst_tag_list_get_ulong_index (const GstTagList * list, - const gchar * tag, - guint index, - gulong * value); gboolean gst_tag_list_get_int64 (const GstTagList * list, const gchar * tag, gint64 * value); diff --git a/win32/common/libgstreamer.def b/win32/common/libgstreamer.def index f0d95bb..31e5a75 100644 --- a/win32/common/libgstreamer.def +++ b/win32/common/libgstreamer.def @@ -1062,8 +1062,6 @@ EXPORTS gst_tag_list_get_int64 gst_tag_list_get_int64_index gst_tag_list_get_int_index - gst_tag_list_get_long - gst_tag_list_get_long_index gst_tag_list_get_pointer gst_tag_list_get_pointer_index gst_tag_list_get_string @@ -1076,8 +1074,6 @@ EXPORTS gst_tag_list_get_uint64 gst_tag_list_get_uint64_index gst_tag_list_get_uint_index - gst_tag_list_get_ulong - gst_tag_list_get_ulong_index gst_tag_list_get_value_index gst_tag_list_insert gst_tag_list_is_empty