summaryrefslogtreecommitdiff
path: root/gst-libs/gst/tag/tag.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-13 11:32:02 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-13 12:16:42 +0000
commitb618c5776d2c7003ccf80ec23614b61a27b5c4c3 (patch)
tree2993654af0ca17c939612866fb56ac9afb5da710 /gst-libs/gst/tag/tag.h
parent12be5a1ab2cd381907bab7fe5dd0ac76b35833f2 (diff)
tag: GST_EXPORT -> GST_TAG_API
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
Diffstat (limited to 'gst-libs/gst/tag/tag.h')
-rw-r--r--gst-libs/gst/tag/tag.h81
1 files changed, 41 insertions, 40 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h
index b8343fe4b..1e2eec4ea 100644
--- a/gst-libs/gst/tag/tag.h
+++ b/gst-libs/gst/tag/tag.h
@@ -23,6 +23,7 @@
#define __GST_TAG_TAG_H__
#include <gst/gst.h>
+#include <gst/tag/tag-prelude.h>
#include <gst/tag/gsttagdemux.h>
#include <gst/tag/gsttagmux.h>
#include <gst/tag/xmpwriter.h>
@@ -423,37 +424,37 @@ typedef enum {
/* functions for vorbis comment manipulation */
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_from_vorbis_tag (const gchar * vorbis_tag);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_to_vorbis_tag (const gchar * gst_tag);
-GST_EXPORT
+GST_TAG_API
void gst_vorbis_tag_add (GstTagList * list,
const gchar * tag,
const gchar * value);
-GST_EXPORT
+GST_TAG_API
GList * gst_tag_to_vorbis_comments (const GstTagList * list,
const gchar * tag);
/* functions to convert GstBuffers with vorbiscomment contents to GstTagLists and back */
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_vorbiscomment (const guint8 * data,
gsize size,
const guint8 * id_data,
const guint id_data_length,
gchar ** vendor_string);
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_vorbiscomment_buffer (GstBuffer * buffer,
const guint8 * id_data,
const guint id_data_length,
gchar ** vendor_string);
-GST_EXPORT
+GST_TAG_API
GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagList * list,
const guint8 * id_data,
const guint id_data_length,
@@ -465,112 +466,112 @@ GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagLis
* gst_tag_list_from_id3v2_tag(). Also, note gst.tag.list_xyz() namespace vs. gst.tag_list_xyz(),
* which is a bit confusing and possibly doesn't map too well */
-GST_EXPORT
+GST_TAG_API
guint gst_tag_id3_genre_count (void);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_id3_genre_get (const guint id);
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_new_from_id3v1 (const guint8 * data);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_from_id3_tag (const gchar * id3_tag);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_from_id3_user_tag (const gchar * type,
const gchar * id3_user_tag);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_to_id3_tag (const gchar * gst_tag);
-GST_EXPORT
+GST_TAG_API
gboolean gst_tag_list_add_id3_image (GstTagList * tag_list,
const guint8 * image_data,
guint image_data_len,
guint id3_picture_type);
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_id3v2_tag (GstBuffer * buffer);
-GST_EXPORT
+GST_TAG_API
guint gst_tag_get_id3v2_tag_size (GstBuffer * buffer);
/* functions to convert GstBuffers with xmp packets contents to GstTagLists and back */
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_xmp_buffer (GstBuffer * buffer);
-GST_EXPORT
+GST_TAG_API
GstBuffer * gst_tag_list_to_xmp_buffer (const GstTagList * list,
gboolean read_only,
const gchar ** schemas);
-GST_EXPORT
+GST_TAG_API
const gchar** gst_tag_xmp_list_schemas (void);
/* functions related to exif */
-GST_EXPORT
+GST_TAG_API
GstBuffer * gst_tag_list_to_exif_buffer (const GstTagList * taglist,
gint byte_order,
guint32 base_offset);
-GST_EXPORT
+GST_TAG_API
GstBuffer * gst_tag_list_to_exif_buffer_with_tiff_header (const GstTagList * taglist);
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_exif_buffer (GstBuffer * buffer,
gint byte_order,
guint32 base_offset);
-GST_EXPORT
+GST_TAG_API
GstTagList * gst_tag_list_from_exif_buffer_with_tiff_header (
GstBuffer * buffer);
/* other tag-related functions */
-GST_EXPORT
+GST_TAG_API
gboolean gst_tag_parse_extended_comment (const gchar * ext_comment,
gchar ** key,
gchar ** lang,
gchar ** value,
gboolean fail_if_no_key);
-GST_EXPORT
+GST_TAG_API
gchar * gst_tag_freeform_string_to_utf8 (const gchar * data,
gint size,
const gchar ** env_vars);
-GST_EXPORT
+GST_TAG_API
GstSample * gst_tag_image_data_to_image_sample (const guint8 * image_data,
guint image_data_len,
GstTagImageType image_type);
/* FIXME 0.11: get rid of this awkward register/init function, see tags.c */
-GST_EXPORT
+GST_TAG_API
void gst_tag_register_musicbrainz_tags (void);
/* language tag related functions */
-GST_EXPORT
+GST_TAG_API
gchar ** gst_tag_get_language_codes (void);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_language_name (const gchar * language_code);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_language_code_iso_639_1 (const gchar * lang_code);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_language_code_iso_639_2B (const gchar * lang_code);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_language_code_iso_639_2T (const gchar * lang_code);
-GST_EXPORT
+GST_TAG_API
gboolean gst_tag_check_language_code (const gchar * lang_code);
/**
@@ -642,25 +643,25 @@ typedef enum {
GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE = (1 << 25)
} GstTagLicenseFlags;
-GST_EXPORT
+GST_TAG_API
gchar ** gst_tag_get_licenses (void);
-GST_EXPORT
+GST_TAG_API
GstTagLicenseFlags gst_tag_get_license_flags (const gchar * license_ref);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_license_nick (const gchar * license_ref);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_license_title (const gchar * license_ref);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_license_version (const gchar * license_ref);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_license_description (const gchar * license_ref);
-GST_EXPORT
+GST_TAG_API
const gchar * gst_tag_get_license_jurisdiction (const gchar * license_ref);
G_END_DECLS