[gst-devel] Re: gstvalue docs

Thomas Vander Stichele thomas at apestaart.org
Fri Jan 7 06:56:23 CET 2005

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.

But yeah, not yet used.

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
My shite shits on your shite
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/

More information about the gstreamer-devel mailing list