[gst-devel] Re: gstvalue docs

Benjamin Otte in7y118 at public.uni-hamburg.de
Mon Jan 10 05:48:11 CET 2005


On Fri, 7 Jan 2005, David Schleef wrote:

> On Fri, Jan 07, 2005 at 03:54:59PM +0100, Thomas Vander Stichele wrote:
> > On Fri, 2005-01-07 at 14:25 +0100, Benjamin Otte wrote:
> > > On Thu, 6 Jan 2005, Stefan Kost wrote:
> > >
> > > > The remaining broken one ist GST_BUFFER_DONTKEEP in gstbuffer.h.
> > > > I found no reference to it, neither in gstreamer, nor in gst-plugins.
> > > > I guess it is deprecated - any comments to it?
> > > >
> > > Well, the meaning of that is pretty simple. Don't keep the buffer. Or
> > > the longer form: If you happen to get such a buffer in your chain/loop
> > > function you must get rid of the reference to that buffer before exiting
> > > the function.
> >
> > I think the original use was so that buffers could be marked to not be
> > presented on sinks.  They could be used for example for going back to a
> > keyframe, decoding a bunch of frames, and dropping frames before the
> > actual frame you wanted.
>
> No, Benjamin is correct.
>
The fact that either me or Thomas doesn't know what thios flag means is
bad enough though ;)

Benjamin





More information about the gstreamer-devel mailing list