From f3ce87d1bde29f002255dc6f1ca6bf2efa29681b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 22 Oct 2014 18:07:00 +0200 Subject: [PATCH] inter: Whitespace cleanup --- gst/inter/gstinteraudiosink.c | 8 -------- gst/inter/gstinteraudiosrc.c | 7 ------- gst/inter/gstintersubsink.c | 7 ------- gst/inter/gstintersubsrc.c | 4 ---- gst/inter/gstintersurface.c | 1 - gst/inter/gstintervideosink.c | 6 ------ gst/inter/gstintervideosrc.c | 6 ------ 7 files changed, 39 deletions(-) diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c index 1c6e56d9d2..6e338affee 100644 --- a/gst/inter/gstinteraudiosink.c +++ b/gst/inter/gstinteraudiosink.c @@ -51,8 +51,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_audio_sink_debug_category); #define GST_CAT_DEFAULT gst_inter_audio_sink_debug_category /* prototypes */ - - static void gst_inter_audio_sink_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_audio_sink_get_property (GObject * object, @@ -73,7 +71,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_audio_sink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -84,8 +81,6 @@ GST_STATIC_PAD_TEMPLATE ("sink", /* class initialization */ - - G_DEFINE_TYPE (GstInterAudioSink, gst_inter_audio_sink, GST_TYPE_BASE_SINK); static void @@ -171,7 +166,6 @@ gst_inter_audio_sink_finalize (GObject * object) G_OBJECT_CLASS (gst_inter_audio_sink_parent_class)->finalize (object); } - static void gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, GstClockTime * start, GstClockTime * end) @@ -190,8 +184,6 @@ gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, } } } - - } static gboolean diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index cab0eb6803..16d40103ed 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -51,8 +51,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_audio_src_debug_category); #define GST_CAT_DEFAULT gst_inter_audio_src_debug_category /* prototypes */ - - static void gst_inter_audio_src_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_audio_src_get_property (GObject * object, @@ -78,7 +76,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_audio_src_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -89,7 +86,6 @@ GST_STATIC_PAD_TEMPLATE ("src", /* class initialization */ - G_DEFINE_TYPE (GstInterAudioSrc, gst_inter_audio_src, GST_TYPE_BASE_SRC); static void @@ -214,7 +210,6 @@ gst_inter_audio_src_set_caps (GstBaseSrc * src, GstCaps * caps) return ret; } - static gboolean gst_inter_audio_src_start (GstBaseSrc * src) { @@ -266,7 +261,6 @@ gst_inter_audio_src_get_times (GstBaseSrc * src, GstBuffer * buffer, } } - #define SIZE 1600 static GstFlowReturn @@ -336,7 +330,6 @@ gst_inter_audio_src_create (GstBaseSrc * src, guint64 offset, guint size, return GST_FLOW_OK; } - static gboolean gst_inter_audio_src_query (GstBaseSrc * src, GstQuery * query) { diff --git a/gst/inter/gstintersubsink.c b/gst/inter/gstintersubsink.c index eaa12f75ab..c6428967a7 100644 --- a/gst/inter/gstintersubsink.c +++ b/gst/inter/gstintersubsink.c @@ -47,8 +47,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_sub_sink_debug_category); #define GST_CAT_DEFAULT gst_inter_sub_sink_debug_category /* prototypes */ - - static void gst_inter_sub_sink_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_sub_sink_get_property (GObject * object, @@ -69,7 +67,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_sub_sink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -113,7 +110,6 @@ gst_inter_sub_sink_class_init (GstInterSubSinkClass * klass) g_param_spec_string ("channel", "Channel", "Channel name to match inter src and sink elements", "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - } static void @@ -169,7 +165,6 @@ gst_inter_sub_sink_finalize (GObject * object) G_OBJECT_CLASS (parent_class)->finalize (object); } - static void gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, GstClockTime * start, GstClockTime * end) @@ -188,8 +183,6 @@ gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, } } } - - } static gboolean diff --git a/gst/inter/gstintersubsrc.c b/gst/inter/gstintersubsrc.c index 3b6cc60ecf..d47c7e3d4d 100644 --- a/gst/inter/gstintersubsrc.c +++ b/gst/inter/gstintersubsrc.c @@ -48,8 +48,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_sub_src_debug_category); #define GST_CAT_DEFAULT gst_inter_sub_src_debug_category /* prototypes */ - - static void gst_inter_sub_src_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_sub_src_get_property (GObject * object, @@ -72,7 +70,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_sub_src_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -220,7 +217,6 @@ gst_inter_sub_src_get_times (GstBaseSrc * src, GstBuffer * buffer, } } - static GstFlowReturn gst_inter_sub_src_create (GstBaseSrc * src, guint64 offset, guint size, GstBuffer ** buf) diff --git a/gst/inter/gstintersurface.c b/gst/inter/gstintersurface.c index d5b0cbd7bc..243472d66b 100644 --- a/gst/inter/gstintersurface.c +++ b/gst/inter/gstintersurface.c @@ -28,7 +28,6 @@ static GList *list; static GMutex mutex; - GstInterSurface * gst_inter_surface_get (const char *name) { diff --git a/gst/inter/gstintervideosink.c b/gst/inter/gstintervideosink.c index 4f5fc2bbe3..02399ab7ca 100644 --- a/gst/inter/gstintervideosink.c +++ b/gst/inter/gstintervideosink.c @@ -51,8 +51,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_video_sink_debug_category); #define GST_CAT_DEFAULT gst_inter_video_sink_debug_category /* prototypes */ - - static void gst_inter_video_sink_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_video_sink_get_property (GObject * object, @@ -75,7 +73,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_video_sink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -85,7 +82,6 @@ GST_STATIC_PAD_TEMPLATE ("sink", /* class initialization */ - G_DEFINE_TYPE (GstInterVideoSink, gst_inter_video_sink, GST_TYPE_BASE_SINK); static void @@ -192,8 +188,6 @@ gst_inter_video_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, } } } - - } static gboolean diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index de459f5650..4abde92187 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -48,8 +48,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_inter_video_src_debug_category); #define GST_CAT_DEFAULT gst_inter_video_src_debug_category /* prototypes */ - - static void gst_inter_video_src_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_inter_video_src_get_property (GObject * object, @@ -76,7 +74,6 @@ enum }; /* pad templates */ - static GstStaticPadTemplate gst_inter_video_src_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -123,7 +120,6 @@ gst_inter_video_src_class_init (GstInterVideoSrcClass * klass) g_param_spec_string ("channel", "Channel", "Channel name to match inter src and sink elements", "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - } static void @@ -226,7 +222,6 @@ gst_inter_video_src_set_caps (GstBaseSrc * src, GstCaps * caps) return gst_pad_set_caps (src->srcpad, caps); } - static gboolean gst_inter_video_src_start (GstBaseSrc * src) { @@ -279,7 +274,6 @@ gst_inter_video_src_get_times (GstBaseSrc * src, GstBuffer * buffer, } } - static GstFlowReturn gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size, GstBuffer ** buf)