[0.11] gstreamer: buffer: only reserve 6 extra flags

Wim Taymans wtay at kemper.freedesktop.org
Wed Jan 4 01:05:57 PST 2012


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

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Wed Jan  4 10:04:11 2012 +0100

buffer: only reserve 6 extra flags

Only reserve 6 extra flags instead of 10 so that more media specific flags
are available.

---

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

diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h
index 9c9363f..d527532 100644
--- a/gst/gstbuffer.h
+++ b/gst/gstbuffer.h
@@ -220,7 +220,7 @@ typedef enum {
   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 << 20)
+  GST_BUFFER_FLAG_LAST        = (GST_MINI_OBJECT_FLAG_LAST << 16)
 } GstBufferFlags;
 
 /**



More information about the gstreamer-commits mailing list