[0.11] gstreamer: buffer; remove IN_CAPS buffer flag

Wim Taymans wtay at kemper.freedesktop.org
Mon Jan 30 08:18:26 PST 2012


Module: gstreamer
Branch: 0.11
Commit: c35a41bb5497b4f527bce92ebcbde3c3f2bbb297
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c35a41bb5497b4f527bce92ebcbde3c3f2bbb297

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Jan 30 17:15:21 2012 +0100

buffer; remove IN_CAPS buffer flag

The IN_CAPS buffer flag is deprecated and should be replaced with the HEADER
flag.

---

 gst/gstbuffer.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h
index 2a945d6..435388b 100644
--- a/gst/gstbuffer.h
+++ b/gst/gstbuffer.h
@@ -193,7 +193,8 @@ typedef struct _GstBufferPool GstBufferPool;
  *                               video this is typically the end of a frame boundary, for audio
  *                               this is usually the end of a talkspurt.
  * @GST_BUFFER_FLAG_HEADER:      the buffer contains header information that is
- *                               needed to decode the following data
+ *                               needed to decode the following data. The buffer
+ *                               is also part of the headers of the STREAM_CONFIG event.
  * @GST_BUFFER_FLAG_GAP:         the buffer has been created to fill a gap in the
  *                               stream and contains media neutral data (elements can
  *                               switch to optimized code path that ignores the buffer
@@ -201,7 +202,6 @@ typedef struct _GstBufferPool GstBufferPool;
  * @GST_BUFFER_FLAG_DROPPABLE:   the buffer can be dropped without breaking the
  *                               stream, for example to reduce bandwidth.
  * @GST_BUFFER_FLAG_DELTA_UNIT:  this unit cannot be decoded independently.
- * @GST_BUFFER_FLAG_IN_CAPS:     the buffer has been added as a field in a #GstCaps.
  * @GST_BUFFER_FLAG_LAST:        additional media specific flags can be added starting from
  *                               this flag.
  *
@@ -218,7 +218,6 @@ typedef enum {
   GST_BUFFER_FLAG_GAP         = (GST_MINI_OBJECT_FLAG_LAST << 7),
   GST_BUFFER_FLAG_DROPPABLE   = (GST_MINI_OBJECT_FLAG_LAST << 8),
   GST_BUFFER_FLAG_DELTA_UNIT  = (GST_MINI_OBJECT_FLAG_LAST << 9),
-  GST_BUFFER_FLAG_IN_CAPS     = (GST_MINI_OBJECT_FLAG_LAST << 10),
 
   GST_BUFFER_FLAG_LAST        = (GST_MINI_OBJECT_FLAG_LAST << 16)
 } GstBufferFlags;



More information about the gstreamer-commits mailing list