diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-09-02 14:45:04 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-09-02 14:45:04 +0000 |
commit | 4998a5a548e61816fb1a2838b7f72be3f1be9919 (patch) | |
tree | 28a5ade2deb7d869cc95110eda9619c690483328 /sys | |
parent | 97a46ffce6855985e48236e90a1a6dec53a8c527 (diff) | |
download | gst-plugins-bad-4998a5a548e61816fb1a2838b7f72be3f1be9919.tar.gz gst-plugins-bad-4998a5a548e61816fb1a2838b7f72be3f1be9919.tar.bz2 gst-plugins-bad-4998a5a548e61816fb1a2838b7f72be3f1be9919.zip |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2.c | 3 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2colorbalance.c | 1 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 3 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 2 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.h | 10 |
5 files changed, 9 insertions, 10 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index db205e67..a65f7c16 100644 --- a/sys/v4l2/gstv4l2.c +++ b/sys/v4l2/gstv4l2.c @@ -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) diff --git a/sys/v4l2/gstv4l2colorbalance.c b/sys/v4l2/gstv4l2colorbalance.c index 26c68f49..62478ebf 100644 --- a/sys/v4l2/gstv4l2colorbalance.c +++ b/sys/v4l2/gstv4l2colorbalance.c @@ -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) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index ee4027ca..d67dfe53 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -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, diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 17b679a3..58348d8b 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -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)); diff --git a/sys/v4l2/gstv4l2src.h b/sys/v4l2/gstv4l2src.h index af6de21e..4445e5d4 100644 --- a/sys/v4l2/gstv4l2src.h +++ b/sys/v4l2/gstv4l2src.h @@ -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; |