+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>
#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);
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) ", " \
"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;
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);
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;
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);
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);
"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);
#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)
{
}
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);
}
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);
}
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);