summaryrefslogtreecommitdiffstats
path: root/gst/matroska/ebml-read.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-07 20:00:41 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-07 20:00:41 +0000
commit12e856c26d690c02cc05a2e945b49e2df538307a (patch)
treecbb1cf43fa0dcbb477775b3ade47e4b16e057b5e /gst/matroska/ebml-read.h
parent396a5c812901cfb1e16a8b4f55f122e229293b98 (diff)
Riff, EBML, fourcc etc. work. Not fully finished, but better than what we used to have and definately worth a first b...
Original commit message from CVS: Riff, EBML, fourcc etc. work. Not fully finished, but better than what we used to have and definately worth a first broad testing. I've revived rifflib. Rifflib used to be a bytestream-for-riff, which just dup'ed bytestream. I've rewritten rifflib to be a modern riff- chunk parser that uses bytestream fully, plus adds some extra functions so that riff file parsing becomes extremely easy. It also contains some small usability functions for strh/strf and metadata parsing. Note that it doesn't use the new tagging yet, that's a TODO. Avidemux has been rewritten to use this. I think we all agreed that avidemux was pretty much a big mess, which is because it used all sort of bytestream magic all around the place. It was just ugly. This is a lot nicer, very complete and safe. I think this is far more robust than what the old avidemux could ever have been. Of course, it might contain bugs, please let me know. EBML writing has also been implemented. This is useful for matroska. I'm intending to modify avidemux (with a riffwriter) similarly. Maybe I'll change wavparse/-enc too to use rifflib. Lastly, several plugins have been modified to use rifflib's fourcc parsing instead of their own. this puts fourcc parsing in one central place, which should make it a lot simpler to add new fourccs. We might want to move this to its own lib instead of rifflib. Enjoy!
Diffstat (limited to 'gst/matroska/ebml-read.h')
-rw-r--r--gst/matroska/ebml-read.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/ebml-read.h b/gst/matroska/ebml-read.h
index 52e4e141..d78d13ce 100644
--- a/gst/matroska/ebml-read.h
+++ b/gst/matroska/ebml-read.h
@@ -63,7 +63,7 @@ GType gst_ebml_read_get_type (void);
guint32 gst_ebml_peek_id (GstEbmlRead *ebml,
guint *level_up);
-void gst_ebml_read_seek (GstEbmlRead *ebml,
+GstEvent *gst_ebml_read_seek (GstEbmlRead *ebml,
guint64 offset);
gboolean gst_ebml_read_skip (GstEbmlRead *ebml);
gboolean gst_ebml_read_buffer (GstEbmlRead *ebml,
@@ -91,7 +91,7 @@ gboolean gst_ebml_read_master (GstEbmlRead *ebml,
guint32 *id);
gboolean gst_ebml_read_binary (GstEbmlRead *ebml,
guint32 *id,
- guchar **binary,
+ guint8 **binary,
guint64 *length);
gboolean gst_ebml_read_header (GstEbmlRead *read,
gchar **doctype,