mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
add object and struct padding
Original commit message from CVS: add object and struct padding
This commit is contained in:
parent
6300f2611c
commit
d9b79beab1
7 changed files with 28 additions and 4 deletions
|
@ -62,10 +62,14 @@ struct _GstAudioClock {
|
||||||
GSList *async_entries;
|
GSList *async_entries;
|
||||||
|
|
||||||
gboolean active;
|
gboolean active;
|
||||||
|
|
||||||
|
GST_OBJECT_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstAudioClockClass {
|
struct _GstAudioClockClass {
|
||||||
GstSystemClockClass parent_class;
|
GstSystemClockClass parent_class;
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_audio_clock_get_type (void);
|
GType gst_audio_clock_get_type (void);
|
||||||
|
|
|
@ -24,22 +24,27 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
typedef struct GstMediaInfoPriv GstMediaInfoPriv;
|
typedef struct GstMediaInfoPriv GstMediaInfoPriv;
|
||||||
|
typedef struct _GstMediaInfo GstMediaInfo;
|
||||||
|
typedef struct _GstMediaInfoClass GstMediaInfoClass;
|
||||||
|
|
||||||
typedef struct
|
struct _GstMediaInfo
|
||||||
{
|
{
|
||||||
GObject parent;
|
GObject parent;
|
||||||
|
|
||||||
GstMediaInfoPriv *priv;
|
GstMediaInfoPriv *priv;
|
||||||
} GstMediaInfo;
|
|
||||||
|
|
||||||
typedef struct
|
GST_OBJECT_PADDING
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _GstMediaInfoClass
|
||||||
{
|
{
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*media_info_signal) (GstMediaInfo *gst_media_info);
|
void (*media_info_signal) (GstMediaInfo *gst_media_info);
|
||||||
|
|
||||||
} GstMediaInfoClass;
|
GST_CLASS_PADDING
|
||||||
|
};
|
||||||
|
|
||||||
/* structure for "physical" stream,
|
/* structure for "physical" stream,
|
||||||
* which can contain multiple sequential ones */
|
* which can contain multiple sequential ones */
|
||||||
|
|
|
@ -82,6 +82,8 @@ typedef struct _GstMixerClass {
|
||||||
void (* set_record) (GstMixer *mixer,
|
void (* set_record) (GstMixer *mixer,
|
||||||
GstMixerChannel *channel,
|
GstMixerChannel *channel,
|
||||||
gboolean record);
|
gboolean record);
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
} GstMixerClass;
|
} GstMixerClass;
|
||||||
|
|
||||||
GType gst_mixer_get_type (void);
|
GType gst_mixer_get_type (void);
|
||||||
|
|
|
@ -48,6 +48,7 @@ typedef struct _GstNavigationClass {
|
||||||
/* virtual functions */
|
/* virtual functions */
|
||||||
void (*send_event) (GstNavigation *navigation, GstCaps *caps);
|
void (*send_event) (GstNavigation *navigation, GstCaps *caps);
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
} GstNavigationClass;
|
} GstNavigationClass;
|
||||||
|
|
||||||
GType gst_navigation_get_type (void);
|
GType gst_navigation_get_type (void);
|
||||||
|
|
|
@ -132,6 +132,8 @@ struct _GstPlay
|
||||||
|
|
||||||
GstPlayTimeoutAdd timeout_add_func;
|
GstPlayTimeoutAdd timeout_add_func;
|
||||||
GstPlayIdleAdd idle_add_func;
|
GstPlayIdleAdd idle_add_func;
|
||||||
|
|
||||||
|
GST_OBJECT_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPlayClass
|
struct _GstPlayClass
|
||||||
|
@ -152,6 +154,8 @@ struct _GstPlayClass
|
||||||
void (*have_vis_video_out) (GstPlay * play, gpointer video_out);
|
void (*have_vis_video_out) (GstPlay * play, gpointer video_out);
|
||||||
void (*have_video_size) (GstPlay * play, gint width, gint height);
|
void (*have_video_size) (GstPlay * play, gint width, gint height);
|
||||||
void (*have_vis_size) (GstPlay * play, gint width, gint height);
|
void (*have_vis_size) (GstPlay * play, gint width, gint height);
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPlayIdleData
|
struct _GstPlayIdleData
|
||||||
|
|
|
@ -61,6 +61,8 @@ struct _GstVideoSink {
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
|
|
||||||
GstCaps *formats;
|
GstCaps *formats;
|
||||||
|
|
||||||
|
GST_OBJECT_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstVideoSinkClass {
|
struct _GstVideoSinkClass {
|
||||||
|
@ -75,6 +77,8 @@ struct _GstVideoSinkClass {
|
||||||
void (*have_video_out) (GstVideoSink *element, gpointer video_out);
|
void (*have_video_out) (GstVideoSink *element, gpointer video_out);
|
||||||
void (*have_size) (GstVideoSink *element, gint width, gint height);
|
void (*have_size) (GstVideoSink *element, gint width, gint height);
|
||||||
void (*frame_displayed) (GstVideoSink *element);
|
void (*frame_displayed) (GstVideoSink *element);
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_videosink_get_type (void);
|
GType gst_videosink_get_type (void);
|
||||||
|
|
|
@ -61,6 +61,8 @@ struct _GstVideoSink {
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
|
|
||||||
GstCaps *formats;
|
GstCaps *formats;
|
||||||
|
|
||||||
|
GST_OBJECT_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstVideoSinkClass {
|
struct _GstVideoSinkClass {
|
||||||
|
@ -75,6 +77,8 @@ struct _GstVideoSinkClass {
|
||||||
void (*have_video_out) (GstVideoSink *element, gpointer video_out);
|
void (*have_video_out) (GstVideoSink *element, gpointer video_out);
|
||||||
void (*have_size) (GstVideoSink *element, gint width, gint height);
|
void (*have_size) (GstVideoSink *element, gint width, gint height);
|
||||||
void (*frame_displayed) (GstVideoSink *element);
|
void (*frame_displayed) (GstVideoSink *element);
|
||||||
|
|
||||||
|
GST_CLASS_PADDING
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_videosink_get_type (void);
|
GType gst_videosink_get_type (void);
|
||||||
|
|
Loading…
Reference in a new issue