[gst-devel] addition of a buffer flag

Ronald S. Bultje R.S.Bultje at students.uu.nl
Thu May 13 05:18:48 CEST 2004


On Thu, 2004-05-13 at 12:50, Wim Taymans wrote:
> On Wed, 2004-05-12 at 14:06 -0700, David Schleef wrote:
> > On Wed, May 12, 2004 at 07:17:02PM +0200, Thomas Vander Stichele wrote:
> > > Seriously, this is not what caps are supposed to be used for.
> > Actually, it is.  The caps rewrite had this specifically as one
> > of its goals.
> Is it stored as a buffer or as a string in the caps structure?

It's a GstBuffer.

> >   ... ! oggdemux ! identity ! blah ...
> > Play for 10 seconds, then disconnect identity and blah, and connect
> > identity to vorbisdec.  How does vorbisdec get the header packets?
> And how does oggdemux know what packets are codec data so that it can
> put these as blobs in the caps? Or is de codec responsible for updating
> the caps blob? Your identity example would still fail.. Maybe we can
> assume that as long as the granule pos in the ogg page header remains
> constant, we are dealing with headers?

Oggdemux should set it, somehow. Granulepos is one way; another way is
to have a constant number (codec-specific) that tells the amount of
header packets per codec type.


More information about the gstreamer-devel mailing list