mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
- removing some trailing commas in enums to please C90 only compilers (AIX, Forte, ...) ('should' fix #143290) should...
Original commit message from CVS: - removing some trailing commas in enums to please C90 only compilers (AIX, Forte, ...) ('should' fix #143290) should/could we compile gst with -ansi -pedantic to catch those in the build-bots ?
This commit is contained in:
parent
b8ff3d3d63
commit
55cd61de48
16 changed files with 28 additions and 28 deletions
|
@ -48,7 +48,7 @@ enum
|
|||
ARG_NUM_PADS,
|
||||
ARG_SILENT,
|
||||
ARG_SCHED,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ enum
|
|||
ARG_DUMP,
|
||||
ARG_SYNC,
|
||||
ARG_SIGNAL_HANDOFFS,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
GstStaticPadTemplate fakesink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink%d",
|
||||
|
|
|
@ -71,7 +71,7 @@ enum
|
|||
ARG_SILENT,
|
||||
ARG_DUMP,
|
||||
ARG_PARENTSIZE,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
GstStaticPadTemplate fakesrc_src_template = GST_STATIC_PAD_TEMPLATE ("src%d",
|
||||
|
|
|
@ -50,7 +50,7 @@ enum
|
|||
enum
|
||||
{
|
||||
ARG_0,
|
||||
ARG_MD5,
|
||||
ARG_MD5
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ enum
|
|||
ARG_0,
|
||||
ARG_POLICY,
|
||||
ARG_SILENT,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -49,7 +49,7 @@ enum
|
|||
ARG_0,
|
||||
ARG_SILENT,
|
||||
ARG_NUM_PADS,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ enum
|
|||
enum
|
||||
{
|
||||
MODE_NORMAL, /* act as identity */
|
||||
MODE_TYPEFIND, /* do typefinding */
|
||||
MODE_TYPEFIND /* do typefinding */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -82,14 +82,14 @@ typedef enum
|
|||
GST_BASIC_SCHEDULER_STATE_NONE,
|
||||
GST_BASIC_SCHEDULER_STATE_STOPPED,
|
||||
GST_BASIC_SCHEDULER_STATE_ERROR,
|
||||
GST_BASIC_SCHEDULER_STATE_RUNNING,
|
||||
GST_BASIC_SCHEDULER_STATE_RUNNING
|
||||
}
|
||||
GstBasicSchedulerState;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
/* something important has changed inside the scheduler */
|
||||
GST_BASIC_SCHEDULER_CHANGE = GST_SCHEDULER_FLAG_LAST,
|
||||
GST_BASIC_SCHEDULER_CHANGE = GST_SCHEDULER_FLAG_LAST
|
||||
}
|
||||
GstBasicSchedulerFlags;
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ typedef enum
|
|||
{
|
||||
GST_OPT_SCHEDULER_CHAIN_DIRTY = (1 << 1),
|
||||
GST_OPT_SCHEDULER_CHAIN_DISABLED = (1 << 2),
|
||||
GST_OPT_SCHEDULER_CHAIN_RUNNING = (1 << 3),
|
||||
GST_OPT_SCHEDULER_CHAIN_RUNNING = (1 << 3)
|
||||
}
|
||||
GstOptSchedulerChainFlags;
|
||||
|
||||
|
@ -139,7 +139,7 @@ typedef enum
|
|||
GST_OPT_SCHEDULER_GROUP_DISABLED = (1 << 3), /* this group is disabled */
|
||||
GST_OPT_SCHEDULER_GROUP_RUNNING = (1 << 4), /* this group is running */
|
||||
GST_OPT_SCHEDULER_GROUP_SCHEDULABLE = (1 << 5), /* this group is schedulable */
|
||||
GST_OPT_SCHEDULER_GROUP_VISITED = (1 << 6), /* this group is visited when finding links */
|
||||
GST_OPT_SCHEDULER_GROUP_VISITED = (1 << 6) /* this group is visited when finding links */
|
||||
}
|
||||
GstOptSchedulerGroupFlags;
|
||||
|
||||
|
@ -147,7 +147,7 @@ typedef enum
|
|||
{
|
||||
GST_OPT_SCHEDULER_GROUP_UNKNOWN = 3,
|
||||
GST_OPT_SCHEDULER_GROUP_GET = 1,
|
||||
GST_OPT_SCHEDULER_GROUP_LOOP = 2,
|
||||
GST_OPT_SCHEDULER_GROUP_LOOP = 2
|
||||
}
|
||||
GstOptSchedulerGroupType;
|
||||
|
||||
|
@ -285,7 +285,7 @@ typedef struct _GstOptSchedulerCtx GstOptSchedulerCtx;
|
|||
|
||||
typedef enum
|
||||
{
|
||||
GST_OPT_SCHEDULER_CTX_DISABLED = (1 << 1), /* the element is disabled */
|
||||
GST_OPT_SCHEDULER_CTX_DISABLED = (1 << 1) /* the element is disabled */
|
||||
}
|
||||
GstOptSchedulerCtxFlags;
|
||||
|
||||
|
@ -304,7 +304,7 @@ enum
|
|||
{
|
||||
ARG_0,
|
||||
ARG_ITERATIONS,
|
||||
ARG_MAX_RECURSION,
|
||||
ARG_MAX_RECURSION
|
||||
};
|
||||
|
||||
static void gst_opt_scheduler_class_init (GstOptSchedulerClass * klass);
|
||||
|
@ -1701,7 +1701,7 @@ typedef enum
|
|||
GST_OPT_GET_TO_LOOP,
|
||||
GST_OPT_CHAIN_TO_CHAIN,
|
||||
GST_OPT_CHAIN_TO_LOOP,
|
||||
GST_OPT_LOOP_TO_LOOP,
|
||||
GST_OPT_LOOP_TO_LOOP
|
||||
}
|
||||
LinkType;
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ enum
|
|||
ARG_NUM_PADS,
|
||||
ARG_SILENT,
|
||||
ARG_SCHED,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ enum
|
|||
ARG_DUMP,
|
||||
ARG_SYNC,
|
||||
ARG_SIGNAL_HANDOFFS,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
GstStaticPadTemplate fakesink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink%d",
|
||||
|
|
|
@ -71,7 +71,7 @@ enum
|
|||
ARG_SILENT,
|
||||
ARG_DUMP,
|
||||
ARG_PARENTSIZE,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
GstStaticPadTemplate fakesrc_src_template = GST_STATIC_PAD_TEMPLATE ("src%d",
|
||||
|
|
|
@ -50,7 +50,7 @@ enum
|
|||
enum
|
||||
{
|
||||
ARG_0,
|
||||
ARG_MD5,
|
||||
ARG_MD5
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ enum
|
|||
ARG_0,
|
||||
ARG_POLICY,
|
||||
ARG_SILENT,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -49,7 +49,7 @@ enum
|
|||
ARG_0,
|
||||
ARG_SILENT,
|
||||
ARG_NUM_PADS,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ enum
|
|||
enum
|
||||
{
|
||||
MODE_NORMAL, /* act as identity */
|
||||
MODE_TYPEFIND, /* do typefinding */
|
||||
MODE_TYPEFIND /* do typefinding */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue