inter: Whitespace cleanup
authorSebastian Dröge <sebastian@centricular.com>
Wed, 22 Oct 2014 16:07:00 +0000 (18:07 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 22 Oct 2014 17:09:15 +0000 (19:09 +0200)
gst/inter/gstinteraudiosink.c
gst/inter/gstinteraudiosrc.c
gst/inter/gstintersubsink.c
gst/inter/gstintersubsrc.c
gst/inter/gstintersurface.c
gst/inter/gstintervideosink.c
gst/inter/gstintervideosrc.c

index 1c6e56d..6e338af 100644 (file)
@@ -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
index cab0eb6..16d4010 100644 (file)
@@ -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)
 {
index eaa12f7..c642896 100644 (file)
@@ -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
index 3b6cc60..d47c7e3 100644 (file)
@@ -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)
index d5b0cbd..243472d 100644 (file)
@@ -28,7 +28,6 @@
 static GList *list;
 static GMutex mutex;
 
-
 GstInterSurface *
 gst_inter_surface_get (const char *name)
 {
index 4f5fc2b..02399ab 100644 (file)
@@ -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
index de459f5..4abde92 100644 (file)
@@ -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)