summaryrefslogtreecommitdiffstats
path: root/gst/wavparse/gstwavparse.h
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2003-10-17 00:29:44 +0000
committerIain Holmes <iain@prettypeople.org>2003-10-17 00:29:44 +0000
commit919d3f2f7c2a7da7c597d8f63daf77a26f8b83fc (patch)
tree37152de6a3ed2786bcac08d921b13b7b50072d91 /gst/wavparse/gstwavparse.h
parentec91719c990d5ebc0d4f39993f6b03d8537a9cac (diff)
Add a parser for metadata
Original commit message from CVS: Add a parser for metadata (demux_metadata): Given the buffer containing the metadata, look through it and get the info out of it. (wav_new_chunk_callback): Change the if statement to a switch statement. Handle GST_RIFF_TAG_LIST by changing what the type of list it is and parsing out metadata if it is "INFO".
Diffstat (limited to 'gst/wavparse/gstwavparse.h')
-rw-r--r--gst/wavparse/gstwavparse.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h
index dad8e627..5b3e3e15 100644
--- a/gst/wavparse/gstwavparse.h
+++ b/gst/wavparse/gstwavparse.h
@@ -49,7 +49,7 @@ extern "C" {
#define GST_WAVPARSE_CHUNK_DATA 2 /* searching for data */
#define GST_WAVPARSE_DATA 3 /* in data region */
#define GST_WAVPARSE_OTHER 4 /* in unknown region */
-
+
typedef struct _GstWavParse GstWavParse;
typedef struct _GstWavParseClass GstWavParseClass;
@@ -83,6 +83,8 @@ struct _GstWavParse {
gboolean need_discont;
GstBuffer *buf;
+
+ GstCaps *metadata;
};
struct _GstWavParseClass {
@@ -101,7 +103,8 @@ struct _GstWavParseFormat {
guint16 wBlockAlign;
guint16 wBitsPerSample;
};
-
+
+
/**** from public Microsoft RIFF docs ******/
#define GST_RIFF_WAVE_FORMAT_UNKNOWN (0x0000)
#define GST_RIFF_WAVE_FORMAT_PCM (0x0001)