inter: Whitespace cleanup

This commit is contained in:
Sebastian Dröge 2014-10-22 18:07:00 +02:00
parent b7ed4e9355
commit f3ce87d1bd
7 changed files with 0 additions and 39 deletions

View 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 #define GST_CAT_DEFAULT gst_inter_audio_sink_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_audio_sink_set_property (GObject * object, static void gst_inter_audio_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_audio_sink_get_property (GObject * object, static void gst_inter_audio_sink_get_property (GObject * object,
@ -73,7 +71,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_audio_sink_sink_template = static GstStaticPadTemplate gst_inter_audio_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
@ -84,8 +81,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
/* class initialization */ /* class initialization */
G_DEFINE_TYPE (GstInterAudioSink, gst_inter_audio_sink, GST_TYPE_BASE_SINK); G_DEFINE_TYPE (GstInterAudioSink, gst_inter_audio_sink, GST_TYPE_BASE_SINK);
static void static void
@ -171,7 +166,6 @@ gst_inter_audio_sink_finalize (GObject * object)
G_OBJECT_CLASS (gst_inter_audio_sink_parent_class)->finalize (object); G_OBJECT_CLASS (gst_inter_audio_sink_parent_class)->finalize (object);
} }
static void static void
gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end) GstClockTime * start, GstClockTime * end)
@ -190,8 +184,6 @@ gst_inter_audio_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
} }
} }
} }
} }
static gboolean static gboolean

View 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 #define GST_CAT_DEFAULT gst_inter_audio_src_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_audio_src_set_property (GObject * object, static void gst_inter_audio_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_audio_src_get_property (GObject * object, static void gst_inter_audio_src_get_property (GObject * object,
@ -78,7 +76,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_audio_src_src_template = static GstStaticPadTemplate gst_inter_audio_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
@ -89,7 +86,6 @@ GST_STATIC_PAD_TEMPLATE ("src",
/* class initialization */ /* class initialization */
G_DEFINE_TYPE (GstInterAudioSrc, gst_inter_audio_src, GST_TYPE_BASE_SRC); G_DEFINE_TYPE (GstInterAudioSrc, gst_inter_audio_src, GST_TYPE_BASE_SRC);
static void static void
@ -214,7 +210,6 @@ gst_inter_audio_src_set_caps (GstBaseSrc * src, GstCaps * caps)
return ret; return ret;
} }
static gboolean static gboolean
gst_inter_audio_src_start (GstBaseSrc * src) gst_inter_audio_src_start (GstBaseSrc * src)
{ {
@ -266,7 +261,6 @@ gst_inter_audio_src_get_times (GstBaseSrc * src, GstBuffer * buffer,
} }
} }
#define SIZE 1600 #define SIZE 1600
static GstFlowReturn static GstFlowReturn
@ -336,7 +330,6 @@ gst_inter_audio_src_create (GstBaseSrc * src, guint64 offset, guint size,
return GST_FLOW_OK; return GST_FLOW_OK;
} }
static gboolean static gboolean
gst_inter_audio_src_query (GstBaseSrc * src, GstQuery * query) gst_inter_audio_src_query (GstBaseSrc * src, GstQuery * query)
{ {

View 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 #define GST_CAT_DEFAULT gst_inter_sub_sink_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_sub_sink_set_property (GObject * object, static void gst_inter_sub_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_sub_sink_get_property (GObject * object, static void gst_inter_sub_sink_get_property (GObject * object,
@ -69,7 +67,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_sub_sink_sink_template = static GstStaticPadTemplate gst_inter_sub_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
@ -113,7 +110,6 @@ gst_inter_sub_sink_class_init (GstInterSubSinkClass * klass)
g_param_spec_string ("channel", "Channel", g_param_spec_string ("channel", "Channel",
"Channel name to match inter src and sink elements", "Channel name to match inter src and sink elements",
"default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
static void static void
@ -169,7 +165,6 @@ gst_inter_sub_sink_finalize (GObject * object)
G_OBJECT_CLASS (parent_class)->finalize (object); G_OBJECT_CLASS (parent_class)->finalize (object);
} }
static void static void
gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer, gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end) GstClockTime * start, GstClockTime * end)
@ -188,8 +183,6 @@ gst_inter_sub_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
} }
} }
} }
} }
static gboolean static gboolean

View 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 #define GST_CAT_DEFAULT gst_inter_sub_src_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_sub_src_set_property (GObject * object, static void gst_inter_sub_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_sub_src_get_property (GObject * object, static void gst_inter_sub_src_get_property (GObject * object,
@ -72,7 +70,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_sub_src_src_template = static GstStaticPadTemplate gst_inter_sub_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
@ -220,7 +217,6 @@ gst_inter_sub_src_get_times (GstBaseSrc * src, GstBuffer * buffer,
} }
} }
static GstFlowReturn static GstFlowReturn
gst_inter_sub_src_create (GstBaseSrc * src, guint64 offset, guint size, gst_inter_sub_src_create (GstBaseSrc * src, guint64 offset, guint size,
GstBuffer ** buf) GstBuffer ** buf)

View file

@ -28,7 +28,6 @@
static GList *list; static GList *list;
static GMutex mutex; static GMutex mutex;
GstInterSurface * GstInterSurface *
gst_inter_surface_get (const char *name) gst_inter_surface_get (const char *name)
{ {

View 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 #define GST_CAT_DEFAULT gst_inter_video_sink_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_video_sink_set_property (GObject * object, static void gst_inter_video_sink_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_video_sink_get_property (GObject * object, static void gst_inter_video_sink_get_property (GObject * object,
@ -75,7 +73,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_video_sink_sink_template = static GstStaticPadTemplate gst_inter_video_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
@ -85,7 +82,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
/* class initialization */ /* class initialization */
G_DEFINE_TYPE (GstInterVideoSink, gst_inter_video_sink, GST_TYPE_BASE_SINK); G_DEFINE_TYPE (GstInterVideoSink, gst_inter_video_sink, GST_TYPE_BASE_SINK);
static void static void
@ -192,8 +188,6 @@ gst_inter_video_sink_get_times (GstBaseSink * sink, GstBuffer * buffer,
} }
} }
} }
} }
static gboolean static gboolean

View 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 #define GST_CAT_DEFAULT gst_inter_video_src_debug_category
/* prototypes */ /* prototypes */
static void gst_inter_video_src_set_property (GObject * object, static void gst_inter_video_src_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec); guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_inter_video_src_get_property (GObject * object, static void gst_inter_video_src_get_property (GObject * object,
@ -76,7 +74,6 @@ enum
}; };
/* pad templates */ /* pad templates */
static GstStaticPadTemplate gst_inter_video_src_src_template = static GstStaticPadTemplate gst_inter_video_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
@ -123,7 +120,6 @@ gst_inter_video_src_class_init (GstInterVideoSrcClass * klass)
g_param_spec_string ("channel", "Channel", g_param_spec_string ("channel", "Channel",
"Channel name to match inter src and sink elements", "Channel name to match inter src and sink elements",
"default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
static void static void
@ -226,7 +222,6 @@ gst_inter_video_src_set_caps (GstBaseSrc * src, GstCaps * caps)
return gst_pad_set_caps (src->srcpad, caps); return gst_pad_set_caps (src->srcpad, caps);
} }
static gboolean static gboolean
gst_inter_video_src_start (GstBaseSrc * src) gst_inter_video_src_start (GstBaseSrc * src)
{ {
@ -279,7 +274,6 @@ gst_inter_video_src_get_times (GstBaseSrc * src, GstBuffer * buffer,
} }
} }
static GstFlowReturn static GstFlowReturn
gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size, gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size,
GstBuffer ** buf) GstBuffer ** buf)