mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
This commit is contained in:
parent
1f1a7cbe84
commit
f335187a9e
10 changed files with 18 additions and 16 deletions
|
@ -102,7 +102,7 @@ enum {
|
|||
GST_ALSA_OPEN = GST_ELEMENT_FLAG_LAST,
|
||||
GST_ALSA_RUNNING,
|
||||
GST_ALSA_CAPS_NEGO,
|
||||
GST_ALSA_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 3,
|
||||
GST_ALSA_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 3
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -55,7 +55,7 @@ typedef enum
|
|||
{
|
||||
GST_GNOMEVFSSINK_OPEN = GST_ELEMENT_FLAG_LAST,
|
||||
|
||||
GST_GNOMEVFSSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
|
||||
GST_GNOMEVFSSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2
|
||||
}
|
||||
GstGnomeVFSSinkFlags;
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ typedef enum
|
|||
{
|
||||
GST_GNOMEVFSSRC_OPEN = GST_ELEMENT_FLAG_LAST,
|
||||
|
||||
GST_GNOMEVFSSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
|
||||
GST_GNOMEVFSSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2
|
||||
}
|
||||
GstGnomeVFSSrcFlags;
|
||||
|
||||
|
@ -191,7 +191,7 @@ enum
|
|||
ARG_IRADIO_GENRE,
|
||||
ARG_IRADIO_URL,
|
||||
ARG_IRADIO_TITLE,
|
||||
ARG_SEEKABLE,
|
||||
ARG_SEEKABLE
|
||||
};
|
||||
|
||||
static void gst_gnomevfssrc_base_init (gpointer g_class);
|
||||
|
|
|
@ -149,8 +149,8 @@ enum
|
|||
|
||||
enum
|
||||
{
|
||||
ARG_0,
|
||||
/* FILL ME */
|
||||
ARG_0
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
static GstStaticPadTemplate ogg_demux_src_template_factory =
|
||||
|
@ -376,7 +376,8 @@ gst_ogg_demux_src_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
GST_OGG_SET_STATE (ogg, GST_OGG_STATE_SEEK);
|
||||
FOR_PAD_IN_CURRENT_CHAIN (ogg, pad,
|
||||
pad->flags |= GST_OGG_PAD_NEEDS_DISCONT;);
|
||||
pad->flags |= GST_OGG_PAD_NEEDS_DISCONT;
|
||||
);
|
||||
GST_DEBUG_OBJECT (ogg, "initiating seeking to offset %" G_GUINT64_FORMAT,
|
||||
offset);
|
||||
ogg->seek_pad = cur;
|
||||
|
@ -423,7 +424,8 @@ gst_ogg_demux_handle_event (GstPad * pad, GstEvent * event)
|
|||
gst_event_unref (event);
|
||||
GST_FLAG_UNSET (ogg, GST_OGG_FLAG_WAIT_FOR_DISCONT);
|
||||
FOR_PAD_IN_CURRENT_CHAIN (ogg, pad,
|
||||
pad->flags |= GST_OGG_PAD_NEEDS_DISCONT;);
|
||||
pad->flags |= GST_OGG_PAD_NEEDS_DISCONT;
|
||||
);
|
||||
break;
|
||||
case GST_EVENT_EOS:
|
||||
if (ogg->state == GST_OGG_STATE_SETUP) {
|
||||
|
|
|
@ -111,7 +111,7 @@ enum
|
|||
|
||||
enum
|
||||
{
|
||||
ARG_0,
|
||||
ARG_0
|
||||
};
|
||||
|
||||
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
||||
|
|
|
@ -25,7 +25,7 @@ enum
|
|||
ARG_HALIGN,
|
||||
ARG_X0,
|
||||
ARG_Y0,
|
||||
ARG_FONT_DESC,
|
||||
ARG_FONT_DESC
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -28,13 +28,13 @@ typedef enum _GstTextOverlayHAlign GstTextOverlayHAlign;
|
|||
enum _GstTextOverlayVAlign {
|
||||
GST_TEXT_OVERLAY_VALIGN_BASELINE,
|
||||
GST_TEXT_OVERLAY_VALIGN_BOTTOM,
|
||||
GST_TEXT_OVERLAY_VALIGN_TOP,
|
||||
GST_TEXT_OVERLAY_VALIGN_TOP
|
||||
};
|
||||
|
||||
enum _GstTextOverlayHAlign {
|
||||
GST_TEXT_OVERLAY_HALIGN_LEFT,
|
||||
GST_TEXT_OVERLAY_HALIGN_CENTER,
|
||||
GST_TEXT_OVERLAY_HALIGN_RIGHT,
|
||||
GST_TEXT_OVERLAY_HALIGN_RIGHT
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -53,8 +53,8 @@ enum
|
|||
|
||||
enum
|
||||
{
|
||||
ARG_0,
|
||||
/* FILL ME */
|
||||
ARG_0
|
||||
/* FILL ME */
|
||||
};
|
||||
|
||||
static void gst_timeoverlay_base_init (gpointer g_class);
|
||||
|
|
|
@ -57,7 +57,7 @@ enum
|
|||
ARG_QUALITY,
|
||||
ARG_SERIAL,
|
||||
ARG_MANAGED,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
static const GstFormat *
|
||||
|
|
|
@ -55,7 +55,7 @@ enum
|
|||
ARG_MIN_BITRATE,
|
||||
ARG_QUALITY,
|
||||
ARG_MANAGED,
|
||||
ARG_LAST_MESSAGE,
|
||||
ARG_LAST_MESSAGE
|
||||
};
|
||||
|
||||
/* FIXME:
|
||||
|
|
Loading…
Reference in a new issue