Commit be7d42b5 authored by Maciej Katafiasz's avatar Maciej Katafiasz

Add semicolons after GST_BOILERPLATE[_FULL] so that indent doesn't mess up following lines.

Original commit message from CVS:
Add semicolons after GST_BOILERPLATE[_FULL] so that indent doesn't mess up following lines.
parent 59bc24d7
2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
* ext/cairo/gsttextoverlay.c:
* ext/flac/gstflacdec.c:
* ext/gdk_pixbuf/pixbufscale.c:
* gst/apetag/gstapedemux.c:
* gst/debug/breakmydata.c:
* gst/debug/testplugin.c:
* gst/matroska/ebml-write.c:
* gst/multipart/multipartdemux.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
Add semicolons after GST_BOILERPLATE[_FULL] so that
indent doesn't mess up following lines.
2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Michal Benes <michal dot benes at xeris dot cz>
......
......@@ -114,9 +114,10 @@ static void gst_text_overlay_font_init (GstCairoTextOverlay * overlay);
#define I420_SIZE(w,h) (I420_V_OFFSET(w,h)+(I420_V_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2))
GST_BOILERPLATE (GstCairoTextOverlay, gst_text_overlay, GstElement,
GST_TYPE_ELEMENT)
GST_TYPE_ELEMENT);
static void gst_text_overlay_base_init (gpointer g_class)
static void
gst_text_overlay_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
......
......@@ -104,7 +104,7 @@ static void gst_flac_dec_metadata_callback (const FLAC__SeekableStreamDecoder *
static void gst_flac_dec_error_callback (const FLAC__SeekableStreamDecoder *
decoder, FLAC__StreamDecoderErrorStatus status, void *client_data);
GST_BOILERPLATE (GstFlacDec, gst_flac_dec, GstElement, GST_TYPE_ELEMENT)
GST_BOILERPLATE (GstFlacDec, gst_flac_dec, GstElement, GST_TYPE_ELEMENT);
#define GST_FLAC_DEC_SRC_CAPS \
"audio/x-raw-int, " \
"endianness = (int) " G_STRINGIFY (G_BYTE_ORDER) ", " \
......@@ -113,7 +113,8 @@ GST_BOILERPLATE (GstFlacDec, gst_flac_dec, GstElement, GST_TYPE_ELEMENT)
"depth = (int) { 8, 12, 16, 20, 24, 32 }, " \
"rate = (int) [ 8000, 96000 ], " \
"channels = (int) [ 1, 8 ]"
static void gst_flac_dec_base_init (gpointer g_class)
static void
gst_flac_dec_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
GstCaps *raw_caps, *flac_caps;
......
......@@ -122,9 +122,10 @@ static gboolean gst_pixbufscale_handle_src_event (GstPad * pad,
static gboolean parse_caps (GstCaps * caps, gint * width, gint * height);
GST_BOILERPLATE (GstPixbufScale, gst_pixbufscale, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM)
GST_TYPE_BASE_TRANSFORM);
static void gst_pixbufscale_base_init (gpointer g_class)
static void
gst_pixbufscale_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
......
......@@ -67,9 +67,10 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
static GstFlowReturn gst_wavpack_dec_chain (GstPad * pad, GstBuffer * buffer);
static gboolean gst_wavpack_dec_sink_event (GstPad * pad, GstEvent * event);
GST_BOILERPLATE (GstWavpackDec, gst_wavpack_dec, GstElement, GST_TYPE_ELEMENT)
GST_BOILERPLATE (GstWavpackDec, gst_wavpack_dec, GstElement, GST_TYPE_ELEMENT);
static gboolean gst_wavpack_dec_setcaps (GstPad * pad, GstCaps * caps)
static gboolean
gst_wavpack_dec_setcaps (GstPad * pad, GstCaps * caps)
{
GstWavpackDec *wavpackdec = GST_WAVPACK_DEC (gst_pad_get_parent (pad));
GstStructure *structure;
......
......@@ -84,9 +84,10 @@ static GstTagDemuxResult gst_ape_demux_parse_tag (GstTagDemux * demux,
GstBuffer * buffer, gboolean start_tag, guint * tag_size,
GstTagList ** tags);
GST_BOILERPLATE (GstApeDemux, gst_ape_demux, GstTagDemux, GST_TYPE_TAG_DEMUX)
GST_BOILERPLATE (GstApeDemux, gst_ape_demux, GstTagDemux, GST_TYPE_TAG_DEMUX);
static void gst_ape_demux_base_init (gpointer klass)
static void
gst_ape_demux_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
......
......@@ -99,9 +99,10 @@ GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS_ANY);
GST_BOILERPLATE (GstBreakMyData, gst_break_my_data, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM)
GST_TYPE_BASE_TRANSFORM);
static void gst_break_my_data_base_init (gpointer g_class)
static void
gst_break_my_data_base_init (gpointer g_class)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
......
......@@ -84,9 +84,10 @@ static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
"perform a number of tests",
"Benjamin Otte <otte@gnome>");
GST_BOILERPLATE (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK)
GST_BOILERPLATE (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK);
static void gst_test_base_init (gpointer g_class)
static void
gst_test_base_init (gpointer g_class)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
......
......@@ -36,12 +36,13 @@ GST_DEBUG_CATEGORY_STATIC (gst_ebml_write_debug);
#define _do_init(thing) \
GST_DEBUG_CATEGORY_INIT (gst_ebml_write_debug, "GstEbmlWrite", 0, "Write EBML structured data")
GST_BOILERPLATE_FULL (GstEbmlWrite, gst_ebml_write, GstObject, GST_TYPE_OBJECT,
_do_init)
_do_init);
static void gst_ebml_write_finalize (GObject * object);
static void gst_ebml_write_finalize (GObject * object);
static void gst_ebml_write_base_init (gpointer g_class)
static void
gst_ebml_write_base_init (gpointer g_class)
{
}
......
......@@ -174,9 +174,10 @@ static void gst_multipart_demux_finalize (GObject * object);
GST_BOILERPLATE (GstMultipartDemux, gst_multipart_demux, GstElement,
GST_TYPE_ELEMENT)
GST_TYPE_ELEMENT);
static void gst_multipart_demux_base_init (gpointer g_class)
static void
gst_multipart_demux_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
GObjectClass *gobject_class = G_OBJECT_CLASS (g_class);
......
......@@ -130,10 +130,11 @@ gst_osx_audio_sink_osxelement_do_init (GType type)
}
GST_BOILERPLATE_FULL (GstOsxAudioSink, gst_osx_audio_sink, GstBaseAudioSink,
GST_TYPE_BASE_AUDIO_SINK, gst_osx_audio_sink_osxelement_do_init)
GST_TYPE_BASE_AUDIO_SINK, gst_osx_audio_sink_osxelement_do_init);
static void gst_osx_audio_sink_base_init (gpointer g_class)
static void
gst_osx_audio_sink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
......
......@@ -128,10 +128,11 @@ gst_osx_audio_src_osxelement_do_init (GType type)
}
GST_BOILERPLATE_FULL (GstOsxAudioSrc, gst_osx_audio_src, GstBaseAudioSrc,
GST_TYPE_BASE_AUDIO_SRC, gst_osx_audio_src_osxelement_do_init)
GST_TYPE_BASE_AUDIO_SRC, gst_osx_audio_src_osxelement_do_init);
static void gst_osx_audio_src_base_init (gpointer g_class)
static void
gst_osx_audio_src_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment