[vorbis-dev] ogg_stream_packetout() and stream mixing

Monty xiphmont at xiph.org
Sun Feb 11 13:28:47 PST 2001



On Sun, Feb 11, 2001 at 03:56:15PM -0500, Martin C. Martin wrote:
> Just to make sure, if I'm mixing 2 streams at the page level, and using
> ogg_stream_pagein() and ogg_stream_packetout() to extract them, I need
> two ogg_stream_states, one for each logical stream, and I need to ensure
> that each ogg_stream_state only sees pages of it's own type, is that
> right?

Correct.

This is touching on the 'control logic' for mixed media streams that
isn't part of libogg [yet], but is planned for the future.  For the
time being, doing it manually is the correct thing (and will continue
to work in the future of course).

I *will* have the non-degenerate stream case specced before 1.0, but
likely not code written to implicity support it.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list