diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-09-27 17:04:22 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-09-27 17:04:22 +0000 |
commit | d8769c7d84784114add39bc8d32018a64f1d4fd7 (patch) | |
tree | 679161a45a1f65d31801aaa100a05a5429af8314 /sys/v4l2/gstv4l2src.c | |
parent | a9bc7aedaa0bc58dcd88eabac6906e7cd52715f5 (diff) |
sys/v4l2/: Renamed some properties to match the tuner interface naming.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel),
(gst_v4l2_tuner_list_channels),
(gst_v4l2_tuner_set_channel_and_notify),
(gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm),
(gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify),
(gst_v4l2_tuner_get_norm):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_empty_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps):
Renamed some properties to match the tuner interface naming.
Diffstat (limited to 'sys/v4l2/gstv4l2src.c')
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 9e0c925d..6660ff49 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -283,11 +283,10 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass) gst_v4l2_object_install_properties_helper (gobject_class); - g_object_class_install_property - (gobject_class, PROP_USE_UNDEF_FPS, + g_object_class_install_property (gobject_class, PROP_USE_UNDEF_FPS, g_param_spec_boolean ("use-undef-fps", "Use undefined FPS", - "For some devices that can't properly report its fps " - "set this property to TRUE. The 'caps' will have its " + "Set this property to TRUE for devices that cannot properly " + "determine a framerate. The 'caps' will have their " "'framerate' set to '0/1'.", DEFAULT_PROP_USE_UNDEF_FPS, G_PARAM_READWRITE)); @@ -1018,7 +1017,7 @@ gst_v4l2src_create (GstPushSrc * src, GstBuffer ** buf) no_framerate: { GST_ELEMENT_ERROR (v4l2src, RESOURCE, SETTINGS, - (_("Could not get frame rate for %s, try to set use-undef-fps " + (_("Could not get frame rate for %s, try to set the use-undef-fps " "property to true."), v4l2src->v4l2object->videodev), (NULL)); return GST_FLOW_ERROR; } |