sys/v4l2/: Whitespace cleanups, dashify property-names.
Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init): * sys/v4l2/gstv4l2src.h: Whitespace cleanups, dashify property-names.
This commit is contained in:
parent
074e7b0d53
commit
b638f1c974
@ -35,7 +35,8 @@
|
|||||||
/* #include "gstv4l2mjpegsrc.h" */
|
/* #include "gstv4l2mjpegsrc.h" */
|
||||||
/* #include "gstv4l2mjpegsink.h" */
|
/* #include "gstv4l2mjpegsink.h" */
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY (v4l2_debug); /* used in v4l2_calls.c and v4l2src_calls.c */
|
/* used in v4l2_calls.c and v4l2src_calls.c */
|
||||||
|
GST_DEBUG_CATEGORY (v4l2_debug);
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
|
@ -39,7 +39,6 @@ gst_v4l2_color_balance_channel_base_init (gpointer g_class)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_v4l2_color_balance_channel_class_init (GstV4l2ColorBalanceChannelClass *
|
gst_v4l2_color_balance_channel_class_init (GstV4l2ColorBalanceChannelClass *
|
||||||
klass)
|
klass)
|
||||||
|
@ -238,7 +238,6 @@ gst_v4l2_device_get_type (void)
|
|||||||
void
|
void
|
||||||
gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class)
|
gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(G_OBJECT_CLASS (gobject_class), PROP_DEVICE,
|
(G_OBJECT_CLASS (gobject_class), PROP_DEVICE,
|
||||||
g_param_spec_string ("device",
|
g_param_spec_string ("device",
|
||||||
@ -246,7 +245,7 @@ gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class)
|
|||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(G_OBJECT_CLASS (gobject_class),
|
(G_OBJECT_CLASS (gobject_class),
|
||||||
PROP_DEVICE_NAME,
|
PROP_DEVICE_NAME,
|
||||||
g_param_spec_string ("device_name",
|
g_param_spec_string ("device-name",
|
||||||
"Device name", "Name of the device", NULL, G_PARAM_READABLE));
|
"Device name", "Name of the device", NULL, G_PARAM_READABLE));
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(G_OBJECT_CLASS (gobject_class), PROP_FLAGS,
|
(G_OBJECT_CLASS (gobject_class), PROP_FLAGS,
|
||||||
|
@ -272,7 +272,7 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass)
|
|||||||
|
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(gobject_class, PROP_USE_FIXED_FPS,
|
(gobject_class, PROP_USE_FIXED_FPS,
|
||||||
g_param_spec_boolean ("use_fixed_fps", "Use Fixed FPS",
|
g_param_spec_boolean ("use-fixed-fps", "Use Fixed FPS",
|
||||||
"Drop/Insert frames to reach a certain FPS (TRUE) "
|
"Drop/Insert frames to reach a certain FPS (TRUE) "
|
||||||
"or adapt FPS to suit the number of frabbed frames",
|
"or adapt FPS to suit the number of frabbed frames",
|
||||||
TRUE, G_PARAM_READWRITE));
|
TRUE, G_PARAM_READWRITE));
|
||||||
|
@ -34,15 +34,15 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2src_debug);
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_V4L2SRC \
|
#define GST_TYPE_V4L2SRC \
|
||||||
(gst_v4l2src_get_type())
|
(gst_v4l2src_get_type())
|
||||||
#define GST_V4L2SRC(obj) \
|
#define GST_V4L2SRC(obj) \
|
||||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_V4L2SRC,GstV4l2Src))
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_V4L2SRC,GstV4l2Src))
|
||||||
#define GST_V4L2SRC_CLASS(klass) \
|
#define GST_V4L2SRC_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_V4L2SRC,GstV4l2SrcClass))
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_V4L2SRC,GstV4l2SrcClass))
|
||||||
#define GST_IS_V4L2SRC(obj) \
|
#define GST_IS_V4L2SRC(obj) \
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_V4L2SRC))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_V4L2SRC))
|
||||||
#define GST_IS_V4L2SRC_CLASS(klass) \
|
#define GST_IS_V4L2SRC_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_V4L2SRC))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_V4L2SRC))
|
||||||
|
|
||||||
typedef struct _GstV4l2BufferPool GstV4l2BufferPool;
|
typedef struct _GstV4l2BufferPool GstV4l2BufferPool;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user