mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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
5 changed files with 9 additions and 10 deletions
|
@ -35,7 +35,8 @@
|
|||
/* #include "gstv4l2mjpegsrc.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
|
||||
plugin_init (GstPlugin * plugin)
|
||||
|
|
|
@ -39,7 +39,6 @@ gst_v4l2_color_balance_channel_base_init (gpointer g_class)
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
gst_v4l2_color_balance_channel_class_init (GstV4l2ColorBalanceChannelClass *
|
||||
klass)
|
||||
|
|
|
@ -238,7 +238,6 @@ gst_v4l2_device_get_type (void)
|
|||
void
|
||||
gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class)
|
||||
{
|
||||
|
||||
g_object_class_install_property
|
||||
(G_OBJECT_CLASS (gobject_class), PROP_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 (gobject_class),
|
||||
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));
|
||||
g_object_class_install_property
|
||||
(G_OBJECT_CLASS (gobject_class), PROP_FLAGS,
|
||||
|
|
|
@ -272,7 +272,7 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass)
|
|||
|
||||
g_object_class_install_property
|
||||
(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) "
|
||||
"or adapt FPS to suit the number of frabbed frames",
|
||||
TRUE, G_PARAM_READWRITE));
|
||||
|
|
|
@ -34,15 +34,15 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2src_debug);
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_V4L2SRC \
|
||||
#define GST_TYPE_V4L2SRC \
|
||||
(gst_v4l2src_get_type())
|
||||
#define GST_V4L2SRC(obj) \
|
||||
#define GST_V4L2SRC(obj) \
|
||||
(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))
|
||||
#define GST_IS_V4L2SRC(obj) \
|
||||
#define GST_IS_V4L2SRC(obj) \
|
||||
(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))
|
||||
|
||||
typedef struct _GstV4l2BufferPool GstV4l2BufferPool;
|
||||
|
|
Loading…
Reference in a new issue