From: Stéphane Loeuillet Date: Fri, 21 May 2004 23:28:57 +0000 (+0000) Subject: second batch : remove ',' at end of enums as they could confuse older gcc, foreign... X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~1025 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c89978b6e2e5d8d37d3b6810c3ce38bf20fb673;p=platform%2Fupstream%2Fgst-plugins-good.git 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) --- diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 2713eb9..8c0b7ce 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -57,7 +57,7 @@ enum ARG_INVERSION, ARG_RANDOMVAL, ARG_FRAMES_DISPLAYED, - ARG_FRAME_TIME, + ARG_FRAME_TIME }; static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 0c4ba18..338bfdb 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -63,8 +63,8 @@ enum ARG_0, ARG_CLAMP_LUMA, ARG_CLAMP_CHROMA, - ARG_QUALITY, - /* FILL ME */ + ARG_QUALITY + /* FILL ME */ }; const gint qualities[] = { @@ -73,7 +73,7 @@ const gint qualities[] = { DV_QUALITY_AC_2, DV_QUALITY_DC | DV_QUALITY_COLOR, DV_QUALITY_AC_1 | DV_QUALITY_COLOR, - DV_QUALITY_AC_2 | DV_QUALITY_COLOR, + DV_QUALITY_AC_2 | DV_QUALITY_COLOR }; #define DV_QUALITY_DEFAULT 5 diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index e202a3e..46e5141 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -51,7 +51,7 @@ enum ARG_CUROFFSET, ARG_CHANNELS, ARG_RATE, - ARG_HOST, + ARG_HOST }; static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index abb0b9b..843fad9 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -52,7 +52,7 @@ enum ARG_MUTE, ARG_HOST, ARG_SYNC, - ARG_FALLBACK, + ARG_FALLBACK }; static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 1463a1f..1d8ac35 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -61,7 +61,7 @@ enum ARG_EXHAUSTIVE_MODEL_SEARCH, ARG_MIN_RESIDUAL_PARTITION_ORDER, ARG_MAX_RESIDUAL_PARTITION_ORDER, - ARG_RICE_PARAMETER_SEARCH_DIST, + ARG_RICE_PARAMETER_SEARCH_DIST }; static void gst_flacenc_base_init (gpointer g_class); diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c index 50697b7..229cacf 100644 --- a/ext/flac/gstflactag.c +++ b/ext/flac/gstflactag.c @@ -102,8 +102,8 @@ enum enum { - ARG_0, - /* FILL ME */ + ARG_0 + /* FILL ME */ }; static GstStaticPadTemplate flac_tag_src_template = diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index 086f1ac..5d4d044 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -47,8 +47,8 @@ enum enum { ARG_0, - ARG_METHOD, - /* FILL ME */ + ARG_METHOD + /* FILL ME */ }; static GstStaticPadTemplate gst_pixbufscale_src_template = diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 6d8ea1f..be67a81 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -47,8 +47,8 @@ enum enum { - ARG_0, - /* FILL ME */ + ARG_0 + /* FILL ME */ }; static void gst_jpegdec_base_init (gpointer g_class); diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index 97efeaf..ffce61f 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -51,8 +51,8 @@ enum { ARG_0, ARG_QUALITY, - ARG_SMOOTHING, - /* FILL ME */ + ARG_SMOOTHING + /* FILL ME */ }; static void gst_jpegenc_base_init (gpointer g_class); diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 667192b..191a7d9 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -71,7 +71,7 @@ enum ARG_0, ARG_SAMPLERATE, ARG_BUFFERSIZE, - ARG_LAST, + ARG_LAST }; GST_DEBUG_CATEGORY_STATIC (ladspa_debug); diff --git a/ext/pango/gsttextoverlay.c b/ext/pango/gsttextoverlay.c index 9468b12..5e9cb46 100644 --- a/ext/pango/gsttextoverlay.c +++ b/ext/pango/gsttextoverlay.c @@ -25,7 +25,7 @@ enum ARG_HALIGN, ARG_X0, ARG_Y0, - ARG_FONT_DESC, + ARG_FONT_DESC }; diff --git a/ext/pango/gsttextoverlay.h b/ext/pango/gsttextoverlay.h index b039aca..df5b5b5 100644 --- a/ext/pango/gsttextoverlay.h +++ b/ext/pango/gsttextoverlay.h @@ -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 }; diff --git a/ext/pango/gsttimeoverlay.c b/ext/pango/gsttimeoverlay.c index 3ec20bc..d422646 100644 --- a/ext/pango/gsttimeoverlay.c +++ b/ext/pango/gsttimeoverlay.c @@ -53,8 +53,8 @@ enum enum { - ARG_0, - /* FILL ME */ + ARG_0 + /* FILL ME */ }; static void gst_timeoverlay_base_init (gpointer g_class); diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index be9de56..c1e7acd 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -42,7 +42,7 @@ enum ARG_0, ARG_CONSECUTIVE, ARG_SKIP, - ARG_DROP_INCOMPLETE, + ARG_DROP_INCOMPLETE }; static GstElementDetails gst_dv1394src_details = diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index 423131b..efc1077 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -55,7 +55,7 @@ enum ARG_PROTOCOL, /* Protocol to connect with */ ARG_MOUNT, /* mountpoint of stream (icecast only) */ - ARG_URL, /* Url of stream (I'm guessing) */ + ARG_URL /* Url of stream (I'm guessing) */ }; static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index 003dd68..660f332 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -42,8 +42,8 @@ enum enum { - ARG_0, - /* FILL ME */ + ARG_0 + /* FILL ME */ }; static void gst_speexdec_base_init (gpointer g_class); diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index b446ec9..2552c92 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -43,8 +43,8 @@ enum enum { - ARG_0, - /* FILL ME */ + ARG_0 + /* FILL ME */ }; static void gst_speexenc_base_init (gpointer g_class); diff --git a/gst/smoothwave/gstsmoothwave.c b/gst/smoothwave/gstsmoothwave.c index 9775e3d..7f1dc9c 100644 --- a/gst/smoothwave/gstsmoothwave.c +++ b/gst/smoothwave/gstsmoothwave.c @@ -44,7 +44,7 @@ enum ARG_0, ARG_WIDTH, ARG_HEIGHT, - ARG_WIDGET, + ARG_WIDGET }; static void gst_smoothwave_base_init (gpointer g_class);