mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
Reset ABI for 1.0 and ensure that extensible baseclasses are extensible enough
This commit is contained in:
parent
35cae2c80c
commit
d4fdc9b5d1
4 changed files with 9 additions and 6 deletions
|
@ -59,7 +59,7 @@ struct _GESFormatter {
|
||||||
GESTimeline *timeline;
|
GESTimeline *timeline;
|
||||||
|
|
||||||
/* Padding for API extension */
|
/* Padding for API extension */
|
||||||
gpointer _ges_reserved[GES_PADDING - 1];
|
gpointer _ges_reserved[GES_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef gboolean (*GESFormatterCanLoadURIMethod) (const gchar * uri, GError **error);
|
typedef gboolean (*GESFormatterCanLoadURIMethod) (const gchar * uri, GError **error);
|
||||||
|
|
|
@ -172,7 +172,7 @@ struct _GESTimelineObject {
|
||||||
guint64 fullduration; /* Full usable duration of the object (-1: no duration) */
|
guint64 fullduration; /* Full usable duration of the object (-1: no duration) */
|
||||||
|
|
||||||
/* Padding for API extension */
|
/* Padding for API extension */
|
||||||
gpointer _ges_reserved[GES_PADDING];
|
gpointer _ges_reserved[GES_PADDING_LARGE];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -216,7 +216,7 @@ struct _GESTimelineObjectClass {
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
/* Padding for API extension */
|
/* Padding for API extension */
|
||||||
gpointer _ges_reserved[GES_PADDING - 4];
|
gpointer _ges_reserved[GES_PADDING_LARGE];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType ges_timeline_object_get_type (void);
|
GType ges_timeline_object_get_type (void);
|
||||||
|
|
|
@ -90,7 +90,7 @@ struct _GESTrackObject {
|
||||||
GESTrackObjectPrivate *priv;
|
GESTrackObjectPrivate *priv;
|
||||||
|
|
||||||
/* Padding for API extension */
|
/* Padding for API extension */
|
||||||
gpointer _ges_reserved[GES_PADDING];
|
gpointer _ges_reserved[GES_PADDING_LARGE];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -141,7 +141,7 @@ struct _GESTrackObjectClass {
|
||||||
guint *n_properties);
|
guint *n_properties);
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
/* Padding for API extension */
|
/* Padding for API extension */
|
||||||
gpointer _ges_reserved[GES_PADDING - 2];
|
gpointer _ges_reserved[GES_PADDING_LARGE];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType ges_track_object_get_type (void);
|
GType ges_track_object_get_type (void);
|
||||||
|
|
|
@ -22,7 +22,10 @@
|
||||||
#define __GES_TYPES_H__
|
#define __GES_TYPES_H__
|
||||||
|
|
||||||
/* Padding */
|
/* Padding */
|
||||||
#define GES_PADDING 4
|
#define GES_PADDING 4
|
||||||
|
|
||||||
|
/* padding for very extensible base classes */
|
||||||
|
#define GES_PADDING_LARGE 20
|
||||||
|
|
||||||
/* Type definitions */
|
/* Type definitions */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue