diff options
author | David Schleef <ds@schleef.org> | 2003-10-09 01:57:54 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-10-09 01:57:54 +0000 |
commit | 7f220280ae9aebc76ebff6da6baf8f54d45b992d (patch) | |
tree | 3471612c43a6e531f4da3d328315dd9e1059c69c /gst-libs/gst | |
parent | c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (diff) | |
download | gst-plugins-bad-7f220280ae9aebc76ebff6da6baf8f54d45b992d.tar.gz gst-plugins-bad-7f220280ae9aebc76ebff6da6baf8f54d45b992d.tar.bz2 gst-plugins-bad-7f220280ae9aebc76ebff6da6baf8f54d45b992d.zip |
add object and struct padding
Original commit message from CVS:
add object and struct padding
Diffstat (limited to 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/audio/audioclock.h | 4 | ||||
-rw-r--r-- | gst-libs/gst/media-info/media-info.h | 13 | ||||
-rw-r--r-- | gst-libs/gst/mixer/mixer.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/navigation/navigation.h | 1 | ||||
-rw-r--r-- | gst-libs/gst/play/play.old.h | 4 | ||||
-rw-r--r-- | gst-libs/gst/video/gstvideosink.h | 4 | ||||
-rw-r--r-- | gst-libs/gst/video/videosink.h | 4 |
7 files changed, 28 insertions, 4 deletions
diff --git a/gst-libs/gst/audio/audioclock.h b/gst-libs/gst/audio/audioclock.h index 8ac984b7..8d0e2a3d 100644 --- a/gst-libs/gst/audio/audioclock.h +++ b/gst-libs/gst/audio/audioclock.h @@ -62,10 +62,14 @@ struct _GstAudioClock { GSList *async_entries; gboolean active; + + GST_OBJECT_PADDING }; struct _GstAudioClockClass { GstSystemClockClass parent_class; + + GST_CLASS_PADDING }; GType gst_audio_clock_get_type (void); diff --git a/gst-libs/gst/media-info/media-info.h b/gst-libs/gst/media-info/media-info.h index 942fbf63..8df0c2d9 100644 --- a/gst-libs/gst/media-info/media-info.h +++ b/gst-libs/gst/media-info/media-info.h @@ -24,22 +24,27 @@ #include <gst/gst.h> typedef struct GstMediaInfoPriv GstMediaInfoPriv; +typedef struct _GstMediaInfo GstMediaInfo; +typedef struct _GstMediaInfoClass GstMediaInfoClass; -typedef struct +struct _GstMediaInfo { GObject parent; GstMediaInfoPriv *priv; -} GstMediaInfo; -typedef struct + GST_OBJECT_PADDING +}; + +struct _GstMediaInfoClass { GObjectClass parent_class; /* signals */ void (*media_info_signal) (GstMediaInfo *gst_media_info); -} GstMediaInfoClass; + GST_CLASS_PADDING +}; /* structure for "physical" stream, * which can contain multiple sequential ones */ diff --git a/gst-libs/gst/mixer/mixer.h b/gst-libs/gst/mixer/mixer.h index 49351aec..565ba8db 100644 --- a/gst-libs/gst/mixer/mixer.h +++ b/gst-libs/gst/mixer/mixer.h @@ -82,6 +82,8 @@ typedef struct _GstMixerClass { void (* set_record) (GstMixer *mixer, GstMixerChannel *channel, gboolean record); + + GST_CLASS_PADDING } GstMixerClass; GType gst_mixer_get_type (void); diff --git a/gst-libs/gst/navigation/navigation.h b/gst-libs/gst/navigation/navigation.h index a7058393..e5e02a98 100644 --- a/gst-libs/gst/navigation/navigation.h +++ b/gst-libs/gst/navigation/navigation.h @@ -48,6 +48,7 @@ typedef struct _GstNavigationClass { /* virtual functions */ void (*send_event) (GstNavigation *navigation, GstCaps *caps); + GST_CLASS_PADDING } GstNavigationClass; GType gst_navigation_get_type (void); diff --git a/gst-libs/gst/play/play.old.h b/gst-libs/gst/play/play.old.h index 1eabd3fd..fec75173 100644 --- a/gst-libs/gst/play/play.old.h +++ b/gst-libs/gst/play/play.old.h @@ -132,6 +132,8 @@ struct _GstPlay GstPlayTimeoutAdd timeout_add_func; GstPlayIdleAdd idle_add_func; + + GST_OBJECT_PADDING }; struct _GstPlayClass @@ -152,6 +154,8 @@ struct _GstPlayClass void (*have_vis_video_out) (GstPlay * play, gpointer video_out); void (*have_video_size) (GstPlay * play, gint width, gint height); void (*have_vis_size) (GstPlay * play, gint width, gint height); + + GST_CLASS_PADDING }; struct _GstPlayIdleData diff --git a/gst-libs/gst/video/gstvideosink.h b/gst-libs/gst/video/gstvideosink.h index 9f82bb1f..2a460fda 100644 --- a/gst-libs/gst/video/gstvideosink.h +++ b/gst-libs/gst/video/gstvideosink.h @@ -61,6 +61,8 @@ struct _GstVideoSink { GstClock *clock; GstCaps *formats; + + GST_OBJECT_PADDING }; struct _GstVideoSinkClass { @@ -75,6 +77,8 @@ struct _GstVideoSinkClass { void (*have_video_out) (GstVideoSink *element, gpointer video_out); void (*have_size) (GstVideoSink *element, gint width, gint height); void (*frame_displayed) (GstVideoSink *element); + + GST_CLASS_PADDING }; GType gst_videosink_get_type (void); diff --git a/gst-libs/gst/video/videosink.h b/gst-libs/gst/video/videosink.h index 9f82bb1f..2a460fda 100644 --- a/gst-libs/gst/video/videosink.h +++ b/gst-libs/gst/video/videosink.h @@ -61,6 +61,8 @@ struct _GstVideoSink { GstClock *clock; GstCaps *formats; + + GST_OBJECT_PADDING }; struct _GstVideoSinkClass { @@ -75,6 +77,8 @@ struct _GstVideoSinkClass { void (*have_video_out) (GstVideoSink *element, gpointer video_out); void (*have_size) (GstVideoSink *element, gint width, gint height); void (*frame_displayed) (GstVideoSink *element); + + GST_CLASS_PADDING }; GType gst_videosink_get_type (void); |