gst-validate-scenario: Only typedef the struct once

Some gcc versions don't like the typedef being done twice
This commit is contained in:
Olivier Crête 2013-10-03 18:14:18 -04:00
parent c011ec4dd4
commit 75e1f5040a

View file

@ -43,14 +43,14 @@ typedef struct _GstValidateAction GstValidateAction;
typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action); typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action);
typedef struct _GstValidateAction struct _GstValidateAction
{ {
const gchar *type; const gchar *type;
const gchar *name; const gchar *name;
guint action_number; guint action_number;
GstClockTime playback_time; GstClockTime playback_time;
GstStructure *structure; GstStructure *structure;
} GstValidateAction; };
struct _GstValidateScenarioClass struct _GstValidateScenarioClass
{ {