gst-libs/gst/: Add padding (you will need to rebuild gst-plugins-base, gst-plugins...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 9 Aug 2005 17:29:40 +0000 (17:29 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 9 Aug 2005 17:29:40 +0000 (17:29 +0000)
Original commit message from CVS:
* gst-libs/gst/audio/gstaudioclock.h:
* gst-libs/gst/audio/gstaudiofilter.h:
* gst-libs/gst/audio/gstaudiosink.h:
* gst-libs/gst/audio/gstaudiosrc.h:
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstringbuffer.h:
* gst-libs/gst/net/gstnetbuffer.h:
* gst-libs/gst/rtp/gstbasertpdepayload.h:
* gst-libs/gst/rtp/gstrtpbuffer.h:
Add padding (you will need to rebuild gst-plugins-base,
gst-plugins and all applications afterwards!)

12 files changed:
ChangeLog
gst-libs/gst/audio/gstaudioclock.h
gst-libs/gst/audio/gstaudiofilter.h
gst-libs/gst/audio/gstaudiosink.h
gst-libs/gst/audio/gstaudiosrc.h
gst-libs/gst/audio/gstbaseaudiosink.h
gst-libs/gst/audio/gstbaseaudiosrc.h
gst-libs/gst/audio/gstringbuffer.h
gst-libs/gst/net/gstnetbuffer.h
gst-libs/gst/netbuffer/gstnetbuffer.h
gst-libs/gst/rtp/gstbasertpdepayload.h
gst-libs/gst/rtp/gstrtpbuffer.h

index e7ca8f7..7daf0b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * gst-libs/gst/audio/gstaudioclock.h:
+       * gst-libs/gst/audio/gstaudiofilter.h:
+       * gst-libs/gst/audio/gstaudiosink.h:
+       * gst-libs/gst/audio/gstaudiosrc.h:
+       * gst-libs/gst/audio/gstbaseaudiosink.h:
+       * gst-libs/gst/audio/gstbaseaudiosrc.h:
+       * gst-libs/gst/audio/gstringbuffer.h:
+       * gst-libs/gst/net/gstnetbuffer.h:
+       * gst-libs/gst/rtp/gstbasertpdepayload.h:
+       * gst-libs/gst/rtp/gstrtpbuffer.h:
+         Add padding (you will need to rebuild gst-plugins-base,
+         gst-plugins and all applications afterwards!)
+
+2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
+
        * gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk),
        (gst_riff_parse_chunk):
          Fix bug in debug message and add some more debug messages.
index d111117..e620dab 100644 (file)
@@ -53,12 +53,14 @@ struct _GstAudioClock {
 
   GstClockTime last_time;
 
+  /*< private >*/
   gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstAudioClockClass {
   GstSystemClockClass parent_class;
 
+  /*< private >*/
   gpointer _gst_reserved[GST_PADDING];
 };
 
index 94e18be..87eaa3d 100644 (file)
@@ -66,6 +66,9 @@ struct _GstAudiofilter {
   int n_samples;
   int size;
   int bytes_per_sample;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstAudiofilterClass {
@@ -75,6 +78,9 @@ struct _GstAudiofilterClass {
   GstAudiofilterSetupFunc setup;
   GstAudiofilterInplaceFilterFunc filter_inplace;
   GstAudiofilterFilterFunc filter;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_audio_filter_get_type(void);
index b724257..118dfb8 100644 (file)
@@ -59,6 +59,9 @@ struct _GstAudioSink {
 
   /*< private >*/ /* with LOCK */
   GThread   *thread;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstAudioSinkClass {
@@ -80,6 +83,9 @@ struct _GstAudioSinkClass {
   guint    (*delay)     (GstAudioSink *sink);
   /* reset the audio device, unblock from a write */
   void     (*reset)     (GstAudioSink *sink);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_audio_sink_get_type(void);
index 5e018fa..41a311c 100644 (file)
@@ -58,6 +58,9 @@ struct _GstAudioSrc {
 
   /*< private >*/ /* with LOCK */
   GThread   *thread;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstAudioSrcClass {
@@ -75,6 +78,9 @@ struct _GstAudioSrcClass {
   guint    (*delay)  (GstAudioSrc *src);
   /* reset the audio device, unblock from a write */
   void     (*reset)  (GstAudioSrc *src);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_audio_src_get_type(void);
index 73786f6..edbd1a0 100644 (file)
@@ -82,6 +82,9 @@ struct _GstBaseAudioSink {
 
   /* clock */
   GstClock     *clock;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstBaseAudioSinkClass {
@@ -89,6 +92,9 @@ struct _GstBaseAudioSinkClass {
 
   /* subclass ringbuffer allocation */
   GstRingBuffer* (*create_ringbuffer)  (GstBaseAudioSink *sink);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_base_audio_sink_get_type(void);
index 0421c02..7019d90 100644 (file)
@@ -59,6 +59,9 @@ struct _GstBaseAudioSrc {
 
   /* clock */
   GstClock     *clock;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstBaseAudioSrcClass {
@@ -66,6 +69,9 @@ struct _GstBaseAudioSrcClass {
 
   /* subclass ringbuffer allocation */
   GstRingBuffer* (*create_ringbuffer)  (GstBaseAudioSrc *src);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_base_audio_src_get_type(void);
index 37ffb74..bd57c8f 100644 (file)
@@ -139,6 +139,9 @@ struct _GstRingBufferSpec
   /* out */
   gint     bytes_per_sample;   /* number of bytes of one sample */
   guint8   silence_sample[32];  /* bytes representing silence */
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 #define GST_RING_BUFFER_GET_COND(buf) (((GstRingBuffer *)buf)->cond)
@@ -169,6 +172,9 @@ struct _GstRingBuffer {
   guint64               next_sample;   /* the next sample we need to process */
   GstRingBufferCallback  callback;
   gpointer               cb_data;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstRingBufferClass {
@@ -192,6 +198,9 @@ struct _GstRingBufferClass {
 
   /* number of samples queued in device */
   guint        (*delay)        (GstRingBuffer *buf);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_ring_buffer_get_type(void);
index a1cabe7..0d55c99 100644 (file)
@@ -52,6 +52,8 @@ typedef struct
     guint32      ip4;
   } address;
   guint16      port;
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 } GstNetAddress;
 
 struct _GstNetBuffer {
@@ -59,10 +61,16 @@ struct _GstNetBuffer {
 
   GstNetAddress from;
   GstNetAddress to;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstNetBufferClass {
   GstBufferClass  buffer_class;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 /* creating buffers */
index a1cabe7..0d55c99 100644 (file)
@@ -52,6 +52,8 @@ typedef struct
     guint32      ip4;
   } address;
   guint16      port;
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 } GstNetAddress;
 
 struct _GstNetBuffer {
@@ -59,10 +61,16 @@ struct _GstNetBuffer {
 
   GstNetAddress from;
   GstNetAddress to;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstNetBufferClass {
   GstBufferClass  buffer_class;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 /* creating buffers */
index 9f30875..3888c7b 100644 (file)
@@ -63,6 +63,9 @@ struct _GstBaseRTPDepayload
   // dropping any packets that are more than
   // RTP_QUEUEDELAY ms late
   GQueue *queue;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstBaseRTPDepayloadClass
@@ -83,6 +86,9 @@ struct _GstBaseRTPDepayloadClass
   // non-pure function used to convert from RTP timestamp to GST timestamp
   // this function is used by the child class before gst_pad_pushing
   GstBuffer* (*setgsttimestamp) (GstRTPBuffer *in);
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 GType gst_base_rtp_depayload_get_type (void);
index ec295cb..097a37a 100644 (file)
@@ -48,10 +48,16 @@ struct _GstRTPBuffer {
   guint32 timestamp;
   guint32 timestampinc;
   gboolean mark;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 struct _GstRTPBufferClass {
   GstBufferClass  buffer_class;
+
+  /*< private >*/
+  gpointer _gst_reserved[GST_PADDING];
 };
 
 /* creating buffers */