mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +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));
|
||||
|
|
Loading…
Reference in a new issue