[matroska-devel] Re: references, KaxCodecPrivate for Vorbis

Pamel Paul at msn.com
Fri Feb 28 18:19:22 CET 2003


"Steve Lhomme" <steve.lhomme at free.fr> wrote
> > - putting all three packets into the one KaxCodecPrivate: we'd store
> >   the length1 (four bytes, little endian), packet1, the length2 (again
> >   four bytes, little endian), packet2, packet3 (the last packet's
> >   length can be calculated by KaxCodecPrivate's length - length1 -
> >   length2),
>
> That solution is OK.
>
> > - putting all three packets into the one KaxCodecPrivate using the
> >   lacing mechanism.
>
> That's also a good solution, but probably overkill :)

What about just making KaxCodecPrivate contain subelements?  Then you could
store all sorts of wacky data that codecs already want to store under
seperate headers.


Pamel



http://www.matroska.org



More information about the Matroska-devel mailing list