diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-10-06 16:13:14 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-10-06 16:13:14 +0000 |
commit | 3e413d6b6efbefaf432da283a4f438d239af6857 (patch) | |
tree | ed1e2dd807184894bd37ced2f8b5c93c908b1954 /gst/id3demux/id3tags.h | |
parent | 7480461b726043f904c4ea46c3323e75147c1972 (diff) |
gst/id3demux/: Port ID3 tag demuxer over to the new GstTagDemux in -base (now would be a good time to test re-importi...
Original commit message from CVS:
* gst/id3demux/gstid3demux.c:
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c:
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2frames.c:
Port ID3 tag demuxer over to the new GstTagDemux in -base
(now would be a good time to test re-importing your music
collection).
Diffstat (limited to 'gst/id3demux/id3tags.h')
-rw-r--r-- | gst/id3demux/id3tags.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/id3demux/id3tags.h b/gst/id3demux/id3tags.h index 85a17cd4..705a6a0d 100644 --- a/gst/id3demux/id3tags.h +++ b/gst/id3demux/id3tags.h @@ -31,18 +31,17 @@ G_BEGIN_DECLS #define ID3V2_HDR_SIZE 10 typedef enum { - ID3TAGS_V1_BAD_SIZE, ID3TAGS_MORE_DATA, ID3TAGS_READ_TAG, ID3TAGS_BROKEN_TAG } ID3TagsResult; /* From id3tags.c */ -ID3TagsResult id3demux_read_id3v1_tag (GstBuffer *buffer, guint *id3v1_size, - GstTagList **tags); +guint id3demux_calc_id3v2_tag_size (GstBuffer * buf); ID3TagsResult id3demux_read_id3v2_tag (GstBuffer *buffer, guint *id3v2_size, GstTagList **tags); -G_END_DECLS + +guint read_synch_uint (const guint8 * data, guint size); /* Things shared by id3tags.c and id3v2frames.c */ #define ID3V2_VERSION 0x0400 @@ -119,4 +118,6 @@ enum { /* From id3v2frames.c */ gboolean id3demux_id3v2_parse_frame (ID3TagsWorking *work); +G_END_DECLS + #endif |