Commit c0b661ce authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

v4l2: mark --v4l2-fps as obsolete

The frame rate is retrieved from the capture parameters nowadays. This
option has no effects at the moment.

It might be nice to reintroduce it so that it can select one rate when
a device supports more than one. But that was never implemented so far.
parent 31b5a1b5
...@@ -59,9 +59,8 @@ ...@@ -59,9 +59,8 @@
#define SIZE_LONGTEXT N_( \ #define SIZE_LONGTEXT N_( \
"The specified pixel resolution is forced " \ "The specified pixel resolution is forced " \
"(if both width and height are strictly positive)." ) "(if both width and height are strictly positive)." )
#define FPS_TEXT N_( "Framerate" ) /*#define FPS_TEXT N_( "Frame rate" )
#define FPS_LONGTEXT N_( "Framerate to capture, if applicable " \ #define FPS_LONGTEXT N_( "Maximum frame rate to use (0 = no limits)." )*/
"(0 for autodetect)." )
#define CTRL_RESET_TEXT N_( "Reset controls" ) #define CTRL_RESET_TEXT N_( "Reset controls" )
#define CTRL_RESET_LONGTEXT N_( "Reset controls to defaults." ) #define CTRL_RESET_LONGTEXT N_( "Reset controls to defaults." )
...@@ -300,8 +299,9 @@ vlc_module_begin () ...@@ -300,8 +299,9 @@ vlc_module_begin ()
add_string( CFG_PREFIX "aspect-ratio", "4:3", ASPECT_TEXT, add_string( CFG_PREFIX "aspect-ratio", "4:3", ASPECT_TEXT,
ASPECT_LONGTEXT, true ) ASPECT_LONGTEXT, true )
change_safe() change_safe()
add_float( CFG_PREFIX "fps", 0, FPS_TEXT, FPS_LONGTEXT, true ) /*add_float( CFG_PREFIX "fps", 0, FPS_TEXT, FPS_LONGTEXT, true )*/
change_safe() add_obsolete_float( CFG_PREFIX "fps" )
change_safe() /* since 2.1.0 */
add_obsolete_bool( CFG_PREFIX "use-libv4l2" ) /* since 2.1.0 */ add_obsolete_bool( CFG_PREFIX "use-libv4l2" ) /* since 2.1.0 */
set_section( N_( "Tuner" ), NULL ) set_section( N_( "Tuner" ), NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment