Patch from vishnu:
authorWim Taymans <wim.taymans@gmail.com>
Mon, 22 Oct 2001 19:00:52 +0000 (19:00 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 22 Oct 2001 19:00:52 +0000 (19:00 +0000)
commit14de4f27daa8132a1f8dddecaa7bf0c8929d59ea
treeafce260739c8a6e3d635f091e48774bbddfd4ecf
parenteb2791d210fc58768a23de9f609e707d5fe88c6e
Patch from vishnu:

Original commit message from CVS:
Patch from vishnu:

The attached patch adds event support to bytestream.  Here's how it
works:  When bytestream encounters an event, the event is saved and
it returns NULL.  Then you must call a new API to retrieve the event
and handle it:

void
gst_bytestream_get_status (GstByteStream *bs,
guint32 *avail_out,
GstEvent **event_out);

Whatever is necessary to handle the event is left up to the plugin.
Once the event is retrieved then the bytestream continues as usual.
libs/bytestream/gstbytestream.c
libs/bytestream/gstbytestream.h