mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-07 16:49:52 +00:00
libs/gst/base/: en-LARGE the padding.
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).
This commit is contained in:
parent
e112dce520
commit
a08a8d8fea
5 changed files with 19 additions and 6 deletions
10
ChangeLog
10
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:
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue