validate:scenario: Cleanup header and add some padding to classes

Let's start making gst-validate ABI and API stable
This commit is contained in:
Thibault Saunier 2014-08-13 20:46:17 +02:00 committed by Thibault Saunier
parent eb16061fa9
commit bdc09d2d4a
2 changed files with 9 additions and 7 deletions

View file

@ -135,6 +135,7 @@ G_DEFINE_TYPE_WITH_CODE (GstValidateScenario, gst_validate_scenario,
G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GST_TYPE_VALIDATE_REPORTER,
_reporter_iface_init));
/* GstValidateAction implementation */
GType _gst_validate_action_type;
GST_DEFINE_MINI_OBJECT_TYPE (GstValidateAction, gst_validate_action);

View file

@ -55,12 +55,15 @@ struct _GstValidateAction
gint repeat;
GstClockTime playback_time;
GstStructure *structure;
gpointer _gst_reserved[GST_PADDING_LARGE];
};
struct _GstValidateScenarioClass
{
GObjectClass parent_class;
gpointer _gst_reserved[GST_PADDING];
};
struct _GstValidateScenario
@ -69,6 +72,8 @@ struct _GstValidateScenario
GstElement *pipeline;
GstValidateScenarioPrivate *priv;
gpointer _gst_reserved[GST_PADDING];
};
GType gst_validate_scenario_get_type (void);
@ -100,10 +105,6 @@ gboolean gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
GstSeekType stop_type,
GstClockTime stop);
#define GST_TYPE_VALIDATE_ACTION (gst_validate_action_get_type ())
#define GST_IS_VALIDATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION))
GType gst_validate_action_get_type (void);
G_END_DECLS
#endif /* __GST_VALIDATE_SCENARIOS__ */