libs/gst/base/: en-LARGE the padding.
authorAndy Wingo <wingo@pobox.com>
Tue, 29 Nov 2005 19:37:49 +0000 (19:37 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 29 Nov 2005 19:37:49 +0000 (19:37 +0000)
Original commit message from CVS:
2005-11-29  Andy Wingo  <wingo@pobox.com>

* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasesink.h: en-LARGE the padding.

* gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
of pointers by which to pad very extensible base classes (like the
ones in libs/gst/base).

ChangeLog
gst/gstconfig.h.in
libs/gst/base/gstbasesink.h
libs/gst/base/gstbasesrc.h
libs/gst/base/gstbasetransform.h

index e9fedf1..8e10733 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-11-29  Andy Wingo  <wingo@pobox.com>
+
+       * libs/gst/base/gstbasetransform.h: 
+       * libs/gst/base/gstbasesrc.h: 
+       * libs/gst/base/gstbasesink.h: en-LARGE the padding.
+
+       * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
+       of pointers by which to pad very extensible base classes (like the
+       ones in libs/gst/base).
+
 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
 
        * docs/gst/gstreamer-docs.sgml:
index 46363c8..d630689 100644 (file)
@@ -71,6 +71,9 @@
 #define GST_PADDING            4
 #define GST_PADDING_INIT       {0}
 
+/***** padding for very extensible base classes *****/
+#define GST_PADDING_LARGE      20
+
 /***** disabling of subsystems *****/
 
 /* wether or not the debugging subsystem is enabled */
index fdb24af..34ba2cf 100644 (file)
@@ -87,7 +87,7 @@ struct _GstBaseSink {
   gboolean       flushing;
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 struct _GstBaseSinkClass {
@@ -120,7 +120,7 @@ struct _GstBaseSinkClass {
   GstFlowReturn (*render)       (GstBaseSink *sink, GstBuffer *buffer);
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 GType gst_base_sink_get_type(void);
index 908c7c3..380f724 100644 (file)
@@ -100,7 +100,7 @@ struct _GstBaseSrc {
   gint           num_buffers_left;
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 /**
@@ -151,7 +151,7 @@ struct _GstBaseSrcClass {
                                 GstBuffer **buf);
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 GType gst_base_src_get_type (void);
index 3b92cc8..0d11b80 100644 (file)
@@ -84,7 +84,7 @@ struct _GstBaseTransform {
   GMutex       *transform_lock;
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 /**
@@ -158,7 +158,7 @@ struct _GstBaseTransformClass {
      GstBuffer *input, gint size, GstCaps *caps, GstBuffer **buf);
 
   /*< private >*/
-  gpointer       _gst_reserved[GST_PADDING - 2];
+  gpointer       _gst_reserved[GST_PADDING_LARGE];
 };
 
 GType           gst_base_transform_get_type         (void);