remove deprecated functions add two tag prototypes to docs add accessor function

Original commit message from CVS:
remove deprecated functions
add two tag prototypes to docs
add accessor function
This commit is contained in:
Thomas Vander Stichele 2004-03-06 20:19:23 +00:00
parent 91e0700148
commit 558ac743bb
7 changed files with 149 additions and 61 deletions

View file

@ -1,3 +1,22 @@
2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gsttag.sgml:
remove some deprecated functions, document some existing ones
* gst/gsttag.c: (gst_tag_get_flag):
* gst/gsttag.h:
add accessor function
2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
reviewed by: <delete if not using a buddy>
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gsttag.sgml:
* docs/gst/tmpl/gstxml.sgml:
* gst/gsttag.c: (gst_tag_get_flag):
* gst/gsttag.h:
2004-03-06 Christophe Fergeau <teuf@gnome.org>
* gst/autoplug/gstspider.c: (gst_spider_identity_plug): fixed caps

View file

@ -280,7 +280,6 @@ gst_data_dispose
gst_data_copy_into
gst_data_copy
gst_data_copy_on_write
gst_data_free
gst_data_ref
gst_data_ref_by_count
gst_data_unref
@ -324,7 +323,6 @@ gst_buffer_ref_by_count
gst_buffer_unref
gst_buffer_copy
gst_buffer_copy_on_write
gst_buffer_free
gst_buffer_create_sub
gst_buffer_merge
gst_buffer_is_span_fast
@ -605,6 +603,8 @@ gst_structure_from_string
<TITLE>GstTag</TITLE>
GstTagMergeMode
GstTagFlag
GstTagForeachFunc
GstTagMergeFunc
gst_tag_register
gst_tag_merge_use_first
gst_tag_merge_strings_with_comma
@ -612,6 +612,7 @@ gst_tag_exists
gst_tag_get_type
gst_tag_get_nick
gst_tag_get_description
gst_tag_get_flag
gst_tag_is_fixed
gst_tag_list_new
gst_tag_list_copy

View file

@ -39,6 +39,25 @@ GstTag
@GST_TAG_FLAG_DECODED:
@GST_TAG_FLAG_COUNT:
<!-- ##### USER_FUNCTION GstTagForeachFunc ##### -->
<para>
</para>
@list:
@tag:
@user_data:
<!-- ##### USER_FUNCTION GstTagMergeFunc ##### -->
<para>
</para>
@dest:
@src:
<!-- ##### FUNCTION gst_tag_register ##### -->
<para>
@ -106,6 +125,15 @@ GstTag
@Returns:
<!-- ##### FUNCTION gst_tag_get_flag ##### -->
<para>
</para>
@tag:
@Returns:
<!-- ##### FUNCTION gst_tag_is_fixed ##### -->
<para>

View file

@ -417,6 +417,25 @@ gst_tag_get_description (const gchar *tag)
return info->blurb;
}
/**
* gst_tag_get_flag:
* @tag: the tag
*
* Returns the flag of this tag.
*/
GstTagFlag
gst_tag_get_flag (const gchar *tag)
{
GstTagInfo *info;
g_return_val_if_fail (tag != NULL, GST_TAG_FLAG_UNDEFINED);
info = gst_tag_lookup (g_quark_from_string (tag));
g_return_val_if_fail (info != NULL, GST_TAG_FLAG_UNDEFINED);
return info->flag;
}
/**
* gst_tag_list_is_fixed:
* @tag: tag to check

View file

@ -81,6 +81,7 @@ G_CONST_RETURN gchar *
gst_tag_get_nick (const gchar * tag);
G_CONST_RETURN gchar *
gst_tag_get_description (const gchar * tag);
GstTagFlag gst_tag_get_flag (const gchar * tag);
gboolean gst_tag_is_fixed (const gchar * tag);
/* tag lists */

View file

@ -417,6 +417,25 @@ gst_tag_get_description (const gchar *tag)
return info->blurb;
}
/**
* gst_tag_get_flag:
* @tag: the tag
*
* Returns the flag of this tag.
*/
GstTagFlag
gst_tag_get_flag (const gchar *tag)
{
GstTagInfo *info;
g_return_val_if_fail (tag != NULL, GST_TAG_FLAG_UNDEFINED);
info = gst_tag_lookup (g_quark_from_string (tag));
g_return_val_if_fail (info != NULL, GST_TAG_FLAG_UNDEFINED);
return info->flag;
}
/**
* gst_tag_list_is_fixed:
* @tag: tag to check

View file

@ -81,6 +81,7 @@ G_CONST_RETURN gchar *
gst_tag_get_nick (const gchar * tag);
G_CONST_RETURN gchar *
gst_tag_get_description (const gchar * tag);
GstTagFlag gst_tag_get_flag (const gchar * tag);
gboolean gst_tag_is_fixed (const gchar * tag);
/* tag lists */