diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-14 19:50:00 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-14 19:50:00 +0000 |
commit | a907a8758a16676078f821e32c44cbc61b671909 (patch) | |
tree | 91f0a98471394865a5033101f1fe211ac2d5efb6 /gst-libs | |
parent | 525d7a9ad6fd9d27086a0ba3ce36757859bf98e7 (diff) | |
download | gst-plugins-bad-a907a8758a16676078f821e32c44cbc61b671909.tar.gz gst-plugins-bad-a907a8758a16676078f821e32c44cbc61b671909.tar.bz2 gst-plugins-bad-a907a8758a16676078f821e32c44cbc61b671909.zip |
distcheck fixes
Original commit message from CVS:
distcheck fixes
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/Makefile.am | 4 | ||||
-rw-r--r-- | gst-libs/gst/tag/Makefile.am | 5 | ||||
-rw-r--r-- | gst-libs/gst/tag/tag.h | 62 |
3 files changed, 69 insertions, 2 deletions
diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am index 9cb04fea..c54b55fe 100644 --- a/gst-libs/gst/Makefile.am +++ b/gst-libs/gst/Makefile.am @@ -15,13 +15,13 @@ endif SUBDIRS = audio colorbalance floatcast \ $(GCONF_DIR) idct media-info \ mixer navigation play propertyprobe \ - resample riff tuner video \ + resample riff tag tuner video \ $(X_DIR) DIST_SUBDIRS = audio colorbalance floatcast \ gconf idct media-info \ mixer navigation play propertyprobe \ - resample riff tuner video \ + resample riff tag tuner video \ xoverlay xwindowlistener diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am new file mode 100644 index 00000000..002d6ffb --- /dev/null +++ b/gst-libs/gst/tag/Makefile.am @@ -0,0 +1,5 @@ +libgsttagincludedir = \ + $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/tag + +libgsttaginclude_HEADERS = \ + tag.h diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h new file mode 100644 index 00000000..24d3a2d3 --- /dev/null +++ b/gst-libs/gst/tag/tag.h @@ -0,0 +1,62 @@ +/* GStreamer + * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + + +#ifndef __GST_TAG_H__ +#define __GST_TAG_H__ + +#include <gst/gst.h> + +G_BEGIN_DECLS + + +/* functions for vorbis comment manipulation */ + +G_CONST_RETURN gchar * gst_tag_from_vorbis_tag (const gchar * vorbis_tag); +G_CONST_RETURN gchar * gst_tag_to_vorbis_tag (const gchar * gst_tag); +void gst_vorbis_tag_add (GstTagList * list, + const gchar * tag, + const gchar * value); + +GList * gst_tag_to_vorbis_comments (const GstTagList * list, + const gchar * tag); + +/* functions to convert GstBuffers with vorbiscomment contents to GstTagLists and back */ +GstTagList * gst_tag_list_from_vorbiscomment_buffer (const GstBuffer * buffer, + const guint8 * id_data, + const guint id_data_length, + gchar ** vendor_string); +GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagList * list, + const guint8 * id_data, + const guint id_data_length, + const gchar * vendor_string); + +/* functions for ID3 tag manipulation */ + +guint gst_tag_id3_genre_count (void); +G_CONST_RETURN gchar * gst_tag_id3_genre_get (const guint id); +GstTagList * gst_tag_list_new_from_id3v1 (const guint8 * data); + +G_CONST_RETURN gchar * gst_tag_from_id3_tag (const gchar * vorbis_tag); +G_CONST_RETURN gchar * gst_tag_to_id3_tag (const gchar * gst_tag); + + +G_END_DECLS + +#endif /* __GST_TAG_H__ */ |