xvimagesink: run gst-indent

This commit is contained in:
Stefan Kost 2011-05-25 12:30:51 +03:00
parent 3f642f3635
commit b229b8f3f9

View file

@ -191,8 +191,7 @@ enum
PROP_WINDOW_HEIGHT PROP_WINDOW_HEIGHT
}; };
static void static void gst_xvimagesink_init_interfaces (GType type);
gst_xvimagesink_init_interfaces (GType type);
GST_BOILERPLATE_FULL (GstXvImageSink, gst_xvimagesink, GstVideoSink, GST_BOILERPLATE_FULL (GstXvImageSink, gst_xvimagesink, GstVideoSink,
GST_TYPE_VIDEO_SINK, gst_xvimagesink_init_interfaces); GST_TYPE_VIDEO_SINK, gst_xvimagesink_init_interfaces);
@ -3476,7 +3475,8 @@ gst_xvimagesink_finalize (GObject * object)
} }
static void static void
gst_xvimagesink_init (GstXvImageSink * xvimagesink, GstXvImageSinkClass *xvimagesinkclass) gst_xvimagesink_init (GstXvImageSink * xvimagesink,
GstXvImageSinkClass * xvimagesinkclass)
{ {
xvimagesink->display_name = NULL; xvimagesink->display_name = NULL;
xvimagesink->adaptor_no = 0; xvimagesink->adaptor_no = 0;
@ -3702,47 +3702,45 @@ gst_xvimagesink_class_init (GstXvImageSinkClass * klass)
static void static void
gst_xvimagesink_init_interfaces (GType type) gst_xvimagesink_init_interfaces (GType type)
{ {
static const GInterfaceInfo iface_info = { static const GInterfaceInfo iface_info = {
(GInterfaceInitFunc) gst_xvimagesink_interface_init, (GInterfaceInitFunc) gst_xvimagesink_interface_init,
NULL, NULL,
NULL, NULL,
}; };
static const GInterfaceInfo navigation_info = { static const GInterfaceInfo navigation_info = {
(GInterfaceInitFunc) gst_xvimagesink_navigation_init, (GInterfaceInitFunc) gst_xvimagesink_navigation_init,
NULL, NULL,
NULL, NULL,
}; };
static const GInterfaceInfo overlay_info = { static const GInterfaceInfo overlay_info = {
(GInterfaceInitFunc) gst_xvimagesink_xoverlay_init, (GInterfaceInitFunc) gst_xvimagesink_xoverlay_init,
NULL, NULL,
NULL, NULL,
}; };
static const GInterfaceInfo colorbalance_info = { static const GInterfaceInfo colorbalance_info = {
(GInterfaceInitFunc) gst_xvimagesink_colorbalance_init, (GInterfaceInitFunc) gst_xvimagesink_colorbalance_init,
NULL, NULL,
NULL, NULL,
}; };
static const GInterfaceInfo propertyprobe_info = { static const GInterfaceInfo propertyprobe_info = {
(GInterfaceInitFunc) gst_xvimagesink_property_probe_interface_init, (GInterfaceInitFunc) gst_xvimagesink_property_probe_interface_init,
NULL, NULL,
NULL, NULL,
}; };
g_type_add_interface_static (type, g_type_add_interface_static (type,
GST_TYPE_IMPLEMENTS_INTERFACE, &iface_info); GST_TYPE_IMPLEMENTS_INTERFACE, &iface_info);
g_type_add_interface_static (type, GST_TYPE_NAVIGATION, g_type_add_interface_static (type, GST_TYPE_NAVIGATION, &navigation_info);
&navigation_info); g_type_add_interface_static (type, GST_TYPE_X_OVERLAY, &overlay_info);
g_type_add_interface_static (type, GST_TYPE_X_OVERLAY, g_type_add_interface_static (type, GST_TYPE_COLOR_BALANCE,
&overlay_info); &colorbalance_info);
g_type_add_interface_static (type, GST_TYPE_COLOR_BALANCE, g_type_add_interface_static (type, GST_TYPE_PROPERTY_PROBE,
&colorbalance_info); &propertyprobe_info);
g_type_add_interface_static (type, GST_TYPE_PROPERTY_PROBE,
&propertyprobe_info);
/* register type and create class in a more safe place instead of at /* register type and create class in a more safe place instead of at
* runtime since the type registration and class creation is not * runtime since the type registration and class creation is not
* threadsafe. */ * threadsafe. */
g_type_class_ref (gst_xvimage_buffer_get_type ()); g_type_class_ref (gst_xvimage_buffer_get_type ());
} }
static gboolean static gboolean