mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Change GST_.*_PADDING to _gst_padding[GST_PADDING];
Original commit message from CVS: Change GST_.*_PADDING to _gst_padding[GST_PADDING];
This commit is contained in:
parent
b9d7ea92ed
commit
1cd87b37e5
25 changed files with 60 additions and 65 deletions
|
@ -80,7 +80,6 @@ libgstreamer_@GST_MAJORMINOR@_la_SOURCES = \
|
||||||
gstatomic.c \
|
gstatomic.c \
|
||||||
gstbin.c \
|
gstbin.c \
|
||||||
gstbuffer.c \
|
gstbuffer.c \
|
||||||
gstbufferpool-default.c \
|
|
||||||
gstcaps.c \
|
gstcaps.c \
|
||||||
gstclock.c \
|
gstclock.c \
|
||||||
gstcpu.c \
|
gstcpu.c \
|
||||||
|
@ -143,7 +142,6 @@ gst_headers = \
|
||||||
gstobject.h \
|
gstobject.h \
|
||||||
gstbin.h \
|
gstbin.h \
|
||||||
gstbuffer.h \
|
gstbuffer.h \
|
||||||
gstbufferpool-default.h \
|
|
||||||
gstcaps.h \
|
gstcaps.h \
|
||||||
gstclock.h \
|
gstclock.h \
|
||||||
gstcompat.h \
|
gstcompat.h \
|
||||||
|
|
|
@ -470,7 +470,7 @@ static GstPluginDesc plugin_desc = {
|
||||||
GST_PACKAGE,
|
GST_PACKAGE,
|
||||||
GST_ORIGIN,
|
GST_ORIGIN,
|
||||||
|
|
||||||
GST_STRUCT_PADDING_INIT
|
GST_PADDING_INIT
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -76,7 +76,7 @@ struct _GstBin {
|
||||||
|
|
||||||
GstElementState child_states[GST_NUM_STATES];
|
GstElementState child_states[GST_NUM_STATES];
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstBinClass {
|
struct _GstBinClass {
|
||||||
|
@ -95,7 +95,7 @@ struct _GstBinClass {
|
||||||
void (*element_added) (GstBin *bin, GstElement *child);
|
void (*element_added) (GstBin *bin, GstElement *child);
|
||||||
void (*element_removed) (GstBin *bin, GstElement *child);
|
void (*element_removed) (GstBin *bin, GstElement *child);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_bin_get_type (void);
|
GType gst_bin_get_type (void);
|
||||||
|
|
|
@ -114,7 +114,7 @@ struct _GstBuffer {
|
||||||
/* pointer to pool private data of parent buffer in case of a subbuffer */
|
/* pointer to pool private data of parent buffer in case of a subbuffer */
|
||||||
gpointer pool_private;
|
gpointer pool_private;
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* bufferpools */
|
/* bufferpools */
|
||||||
|
@ -139,7 +139,7 @@ struct _GstBufferPool {
|
||||||
|
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* allocation */
|
/* allocation */
|
||||||
|
|
|
@ -137,7 +137,7 @@ struct _GstClock {
|
||||||
GCond *active_cond;
|
GCond *active_cond;
|
||||||
gboolean stats;
|
gboolean stats;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstClockClass {
|
struct _GstClockClass {
|
||||||
|
@ -159,7 +159,7 @@ struct _GstClockClass {
|
||||||
void (*unschedule) (GstClock *clock, GstClockEntry *entry);
|
void (*unschedule) (GstClock *clock, GstClockEntry *entry);
|
||||||
void (*unlock) (GstClock *clock, GstClockEntry *entry);
|
void (*unlock) (GstClock *clock, GstClockEntry *entry);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_clock_get_type (void);
|
GType gst_clock_get_type (void);
|
||||||
|
|
|
@ -75,7 +75,7 @@ struct _GstData {
|
||||||
GstDataFreeFunction free; /* free the data */
|
GstDataFreeFunction free; /* free the data */
|
||||||
GstDataCopyFunction copy; /* copy the data */
|
GstDataCopyFunction copy; /* copy the data */
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* function used by subclasses only */
|
/* function used by subclasses only */
|
||||||
|
|
|
@ -45,10 +45,10 @@ struct _GstElementDetails {
|
||||||
gchar *description; /* insights of one form or another */
|
gchar *description; /* insights of one form or another */
|
||||||
gchar *author; /* who wrote this thing? */
|
gchar *author; /* who wrote this thing? */
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
#define GST_ELEMENT_DETAILS(longname,klass,description,author) \
|
#define GST_ELEMENT_DETAILS(longname,klass,description,author) \
|
||||||
{ longname, klass, description, author, GST_STRUCT_PADDING_INIT }
|
{ longname, klass, description, author, GST_PADDING_INIT }
|
||||||
#define GST_IS_ELEMENT_DETAILS(details) ( \
|
#define GST_IS_ELEMENT_DETAILS(details) ( \
|
||||||
(details) && ((details)->longname != NULL) && ((details)->klass != NULL) \
|
(details) && ((details)->longname != NULL) && ((details)->klass != NULL) \
|
||||||
&& ((details)->description != NULL) && ((details)->author != NULL))
|
&& ((details)->description != NULL) && ((details)->author != NULL))
|
||||||
|
@ -184,7 +184,7 @@ struct _GstElement {
|
||||||
GAsyncQueue *prop_value_queue;
|
GAsyncQueue *prop_value_queue;
|
||||||
GMutex *property_mutex;
|
GMutex *property_mutex;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstElementClass {
|
struct _GstElementClass {
|
||||||
|
@ -241,7 +241,7 @@ struct _GstElementClass {
|
||||||
GstIndex* (*get_index) (GstElement *element);
|
GstIndex* (*get_index) (GstElement *element);
|
||||||
void (*set_index) (GstElement *element, GstIndex *index);
|
void (*set_index) (GstElement *element, GstIndex *index);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
void gst_element_class_add_pad_template (GstElementClass *klass, GstPadTemplate *templ);
|
void gst_element_class_add_pad_template (GstElementClass *klass, GstPadTemplate *templ);
|
||||||
|
@ -408,13 +408,13 @@ struct _GstElementFactory {
|
||||||
|
|
||||||
GList * interfaces; /* interfaces this element implements */
|
GList * interfaces; /* interfaces this element implements */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstElementFactoryClass {
|
struct _GstElementFactoryClass {
|
||||||
GstPluginFeatureClass parent_class;
|
GstPluginFeatureClass parent_class;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_element_factory_get_type (void);
|
GType gst_element_factory_get_type (void);
|
||||||
|
|
|
@ -186,7 +186,7 @@ struct _GstEvent {
|
||||||
} structure;
|
} structure;
|
||||||
} event_data;
|
} event_data;
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
void _gst_event_initialize (void);
|
void _gst_event_initialize (void);
|
||||||
|
|
|
@ -168,7 +168,7 @@ struct _GstIndex {
|
||||||
GHashTable *writers;
|
GHashTable *writers;
|
||||||
gint last_id;
|
gint last_id;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstIndexClass {
|
struct _GstIndexClass {
|
||||||
|
@ -189,7 +189,7 @@ struct _GstIndexClass {
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*entry_added) (GstIndex *index, GstIndexEntry *entry);
|
void (*entry_added) (GstIndex *index, GstIndexEntry *entry);
|
||||||
|
|
||||||
GST_CLASS_PADDING;
|
gpointer _gst_reserved[GST_PADDING];;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_index_get_type (void);
|
GType gst_index_get_type (void);
|
||||||
|
@ -253,13 +253,13 @@ struct _GstIndexFactory {
|
||||||
gchar *longdesc; /* long description of the index (well, don't overdo it..) */
|
gchar *longdesc; /* long description of the index (well, don't overdo it..) */
|
||||||
GType type; /* unique GType of the index */
|
GType type; /* unique GType of the index */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstIndexFactoryClass {
|
struct _GstIndexFactoryClass {
|
||||||
GstPluginFeatureClass parent;
|
GstPluginFeatureClass parent;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_index_factory_get_type (void);
|
GType gst_index_factory_get_type (void);
|
||||||
|
|
|
@ -56,7 +56,7 @@ typedef struct _GstImplementsInterfaceClass {
|
||||||
gboolean (* supported) (GstImplementsInterface *iface,
|
gboolean (* supported) (GstImplementsInterface *iface,
|
||||||
GType iface_type);
|
GType iface_type);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
} GstImplementsInterfaceClass;
|
} GstImplementsInterfaceClass;
|
||||||
|
|
||||||
#define GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST(obj, type, cast_t) \
|
#define GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST(obj, type, cast_t) \
|
||||||
|
|
|
@ -77,7 +77,7 @@ struct _GstObject {
|
||||||
|
|
||||||
guint32 flags;
|
guint32 flags;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* signal_object is used to signal to the whole class */
|
/* signal_object is used to signal to the whole class */
|
||||||
|
@ -99,7 +99,7 @@ struct _GstObjectClass {
|
||||||
xmlNodePtr (*save_thyself) (GstObject *object, xmlNodePtr parent);
|
xmlNodePtr (*save_thyself) (GstObject *object, xmlNodePtr parent);
|
||||||
void (*restore_thyself) (GstObject *object, xmlNodePtr self);
|
void (*restore_thyself) (GstObject *object, xmlNodePtr self);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_FLAGS(obj) (GST_OBJECT_CAST (obj)->flags)
|
#define GST_FLAGS(obj) (GST_OBJECT_CAST (obj)->flags)
|
||||||
|
|
16
gst/gstpad.h
16
gst/gstpad.h
|
@ -173,13 +173,13 @@ struct _GstPad {
|
||||||
|
|
||||||
GstPadTemplate *padtemplate; /* the template for this pad */
|
GstPadTemplate *padtemplate; /* the template for this pad */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPadClass {
|
struct _GstPadClass {
|
||||||
GstObjectClass parent_class;
|
GstObjectClass parent_class;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstRealPad {
|
struct _GstRealPad {
|
||||||
|
@ -221,7 +221,7 @@ struct _GstRealPad {
|
||||||
|
|
||||||
GstProbeDispatcher probedisp;
|
GstProbeDispatcher probedisp;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstRealPadClass {
|
struct _GstRealPadClass {
|
||||||
|
@ -233,7 +233,7 @@ struct _GstRealPadClass {
|
||||||
void (*linked) (GstPad *pad, GstPad *peer);
|
void (*linked) (GstPad *pad, GstPad *peer);
|
||||||
void (*unlinked) (GstPad *pad, GstPad *peer);
|
void (*unlinked) (GstPad *pad, GstPad *peer);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstGhostPad {
|
struct _GstGhostPad {
|
||||||
|
@ -241,13 +241,13 @@ struct _GstGhostPad {
|
||||||
|
|
||||||
GstRealPad *realpad;
|
GstRealPad *realpad;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstGhostPadClass {
|
struct _GstGhostPadClass {
|
||||||
GstPadClass parent_class;
|
GstPadClass parent_class;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -334,7 +334,7 @@ struct _GstPadTemplate {
|
||||||
GstPadPresence presence;
|
GstPadPresence presence;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPadTemplateClass {
|
struct _GstPadTemplateClass {
|
||||||
|
@ -343,7 +343,7 @@ struct _GstPadTemplateClass {
|
||||||
/* signal callbacks */
|
/* signal callbacks */
|
||||||
void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
|
void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef G_HAVE_ISO_VARARGS
|
#ifdef G_HAVE_ISO_VARARGS
|
||||||
|
|
|
@ -41,13 +41,13 @@ typedef struct _GstPipelineClass GstPipelineClass;
|
||||||
struct _GstPipeline {
|
struct _GstPipeline {
|
||||||
GstBin bin;
|
GstBin bin;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPipelineClass {
|
struct _GstPipelineClass {
|
||||||
GstBinClass parent_class;
|
GstBinClass parent_class;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_pipeline_get_type (void);
|
GType gst_pipeline_get_type (void);
|
||||||
|
|
|
@ -64,7 +64,7 @@ struct _GstPluginDesc {
|
||||||
gchar *package; /* package plugin belongs to */
|
gchar *package; /* package plugin belongs to */
|
||||||
gchar *origin; /* URL to provider of plugin */
|
gchar *origin; /* URL to provider of plugin */
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPlugin {
|
struct _GstPlugin {
|
||||||
|
@ -77,7 +77,7 @@ struct _GstPlugin {
|
||||||
gpointer manager; /* managing registry */
|
gpointer manager; /* managing registry */
|
||||||
GModule * module; /* contains the module if the plugin is loaded */
|
GModule * module; /* contains the module if the plugin is loaded */
|
||||||
|
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef GST_PLUGIN_STATIC
|
#ifndef GST_PLUGIN_STATIC
|
||||||
|
@ -93,7 +93,7 @@ GstPluginDesc gst_plugin_desc = { \
|
||||||
license, \
|
license, \
|
||||||
package, \
|
package, \
|
||||||
origin, \
|
origin, \
|
||||||
GST_STRUCT_PADDING_INIT \
|
GST_PADDING_INIT \
|
||||||
};
|
};
|
||||||
#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)
|
#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)
|
||||||
#else
|
#else
|
||||||
|
@ -113,7 +113,7 @@ _gst_plugin_static_init__ ##init (void) \
|
||||||
license, \
|
license, \
|
||||||
package, \
|
package, \
|
||||||
origin, \
|
origin, \
|
||||||
GST_STRUCT_PADDING_INIT \
|
GST_PADDING_INIT \
|
||||||
}; \
|
}; \
|
||||||
_gst_plugin_register_static (&plugin_desc_); \
|
_gst_plugin_register_static (&plugin_desc_); \
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ struct _GstPluginFeature {
|
||||||
|
|
||||||
gpointer manager;
|
gpointer manager;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstPluginFeatureClass {
|
struct _GstPluginFeatureClass {
|
||||||
|
@ -58,7 +58,7 @@ struct _GstPluginFeatureClass {
|
||||||
|
|
||||||
void (*unload_thyself) (GstPluginFeature *feature);
|
void (*unload_thyself) (GstPluginFeature *feature);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -83,7 +83,7 @@ struct _GstQueue {
|
||||||
GTimeVal *timeval; /* the timeout for the queue locking */
|
GTimeVal *timeval; /* the timeout for the queue locking */
|
||||||
GAsyncQueue *events; /* upstream events get decoupled here */
|
GAsyncQueue *events; /* upstream events get decoupled here */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstQueueClass {
|
struct _GstQueueClass {
|
||||||
|
@ -92,7 +92,7 @@ struct _GstQueueClass {
|
||||||
/* signal callbacks */
|
/* signal callbacks */
|
||||||
void (*full) (GstQueue *queue);
|
void (*full) (GstQueue *queue);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_queue_get_type (void);
|
GType gst_queue_get_type (void);
|
||||||
|
|
|
@ -86,7 +86,7 @@ struct _GstRegistry {
|
||||||
|
|
||||||
GList *paths;
|
GList *paths;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstRegistryClass {
|
struct _GstRegistryClass {
|
||||||
|
@ -105,7 +105,7 @@ struct _GstRegistryClass {
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*plugin_added) (GstRegistry *registry, GstPlugin *plugin);
|
void (*plugin_added) (GstRegistry *registry, GstPlugin *plugin);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ struct _GstScheduler {
|
||||||
|
|
||||||
GList *schedulers;
|
GList *schedulers;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstSchedulerClass {
|
struct _GstSchedulerClass {
|
||||||
|
@ -105,7 +105,7 @@ struct _GstSchedulerClass {
|
||||||
void (*object_sync) (GstScheduler *sched, GstClock *clock, GstObject *object,
|
void (*object_sync) (GstScheduler *sched, GstClock *clock, GstObject *object,
|
||||||
GstClockID id);
|
GstClockID id);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_scheduler_get_type (void);
|
GType gst_scheduler_get_type (void);
|
||||||
|
@ -161,13 +161,13 @@ struct _GstSchedulerFactory {
|
||||||
gchar *longdesc; /* long description of the scheduler (well, don't overdo it..) */
|
gchar *longdesc; /* long description of the scheduler (well, don't overdo it..) */
|
||||||
GType type; /* unique GType of the scheduler */
|
GType type; /* unique GType of the scheduler */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstSchedulerFactoryClass {
|
struct _GstSchedulerFactoryClass {
|
||||||
GstPluginFeatureClass parent;
|
GstPluginFeatureClass parent;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_scheduler_factory_get_type (void);
|
GType gst_scheduler_factory_get_type (void);
|
||||||
|
|
|
@ -45,13 +45,13 @@ struct _GstSystemClock {
|
||||||
GMutex * mutex;
|
GMutex * mutex;
|
||||||
GCond * cond;
|
GCond * cond;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstSystemClockClass {
|
struct _GstSystemClockClass {
|
||||||
GstClockClass parent_class;
|
GstClockClass parent_class;
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_system_clock_get_type (void);
|
GType gst_system_clock_get_type (void);
|
||||||
|
|
|
@ -63,7 +63,7 @@ struct _GstThread {
|
||||||
GMutex *lock; /* thread lock/condititon pairs */
|
GMutex *lock; /* thread lock/condititon pairs */
|
||||||
GCond *cond; /* used to control the thread */
|
GCond *cond; /* used to control the thread */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstThreadClass {
|
struct _GstThreadClass {
|
||||||
|
@ -72,7 +72,7 @@ struct _GstThreadClass {
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*shutdown) (GstThread *thread);
|
void (*shutdown) (GstThread *thread);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_thread_get_type (void);
|
GType gst_thread_get_type (void);
|
||||||
|
|
|
@ -67,7 +67,7 @@ struct _GstTypeFind {
|
||||||
guint64 (* get_length) (gpointer data);
|
guint64 (* get_length) (gpointer data);
|
||||||
|
|
||||||
/* <private> */
|
/* <private> */
|
||||||
GST_STRUCT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstTypeFindFactory {
|
struct _GstTypeFindFactory {
|
||||||
|
@ -80,14 +80,14 @@ struct _GstTypeFindFactory {
|
||||||
|
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstTypeFindFactoryClass {
|
struct _GstTypeFindFactoryClass {
|
||||||
GstPluginFeatureClass parent;
|
GstPluginFeatureClass parent;
|
||||||
/* <private> */
|
/* <private> */
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* typefind function interface */
|
/* typefind function interface */
|
||||||
|
|
|
@ -63,11 +63,8 @@ typedef enum {
|
||||||
#define GST_RANK_MARGINAL 64
|
#define GST_RANK_MARGINAL 64
|
||||||
#define GST_RANK_NONE 0
|
#define GST_RANK_NONE 0
|
||||||
|
|
||||||
#define GST_STRUCT_PADDING gpointer _gst_reserved[4];
|
#define GST_PADDING 4
|
||||||
#define GST_CLASS_PADDING gpointer _gst_reserved[4];
|
#define GST_PADDING_INIT { 0 }
|
||||||
#define GST_OBJECT_PADDING gpointer _gst_reserved[4];
|
|
||||||
|
|
||||||
#define GST_STRUCT_PADDING_INIT {NULL, NULL, NULL, NULL}
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ struct _GstURIHandlerInterface {
|
||||||
|
|
||||||
/* we might want to add functions here to query features, someone with gnome-vfs knowledge go ahead */
|
/* we might want to add functions here to query features, someone with gnome-vfs knowledge go ahead */
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* general URI functions */
|
/* general URI functions */
|
||||||
|
|
|
@ -49,7 +49,7 @@ struct _GstXML {
|
||||||
|
|
||||||
xmlNsPtr ns;
|
xmlNsPtr ns;
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _GstXMLNs GstXMLNs;
|
typedef struct _GstXMLNs GstXMLNs;
|
||||||
|
@ -61,7 +61,7 @@ struct _GstXMLClass {
|
||||||
void (*object_loaded) (GstXML *xml, GstObject *object, xmlNodePtr self);
|
void (*object_loaded) (GstXML *xml, GstObject *object, xmlNodePtr self);
|
||||||
void (*object_saved) (GstXML *xml, GstObject *object, xmlNodePtr self);
|
void (*object_saved) (GstXML *xml, GstObject *object, xmlNodePtr self);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_xml_get_type (void);
|
GType gst_xml_get_type (void);
|
||||||
|
|
|
@ -83,7 +83,7 @@ struct _GstQueue {
|
||||||
GTimeVal *timeval; /* the timeout for the queue locking */
|
GTimeVal *timeval; /* the timeout for the queue locking */
|
||||||
GAsyncQueue *events; /* upstream events get decoupled here */
|
GAsyncQueue *events; /* upstream events get decoupled here */
|
||||||
|
|
||||||
GST_OBJECT_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstQueueClass {
|
struct _GstQueueClass {
|
||||||
|
@ -92,7 +92,7 @@ struct _GstQueueClass {
|
||||||
/* signal callbacks */
|
/* signal callbacks */
|
||||||
void (*full) (GstQueue *queue);
|
void (*full) (GstQueue *queue);
|
||||||
|
|
||||||
GST_CLASS_PADDING
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gst_queue_get_type (void);
|
GType gst_queue_get_type (void);
|
||||||
|
|
Loading…
Reference in a new issue