[gst-devel] Re: gstvalue docs

David Schleef ds at schleef.org
Fri Jan 7 13:04:05 CET 2005


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.



dave...





More information about the gstreamer-devel mailing list