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

V4L2: remove exposure control, this is for still cameras

parent 37575838
...@@ -56,7 +56,6 @@ static const vlc_v4l2_ctrl_name_t controls[] = ...@@ -56,7 +56,6 @@ static const vlc_v4l2_ctrl_name_t controls[] =
{ "red-balance", V4L2_CID_RED_BALANCE }, { "red-balance", V4L2_CID_RED_BALANCE },
{ "blue-balance", V4L2_CID_BLUE_BALANCE }, { "blue-balance", V4L2_CID_BLUE_BALANCE },
{ "gamma", V4L2_CID_GAMMA }, { "gamma", V4L2_CID_GAMMA },
{ "exposure", V4L2_CID_EXPOSURE },
{ "autogain", V4L2_CID_AUTOGAIN }, { "autogain", V4L2_CID_AUTOGAIN },
{ "gain", V4L2_CID_GAIN }, { "gain", V4L2_CID_GAIN },
{ "hflip", V4L2_CID_HFLIP }, { "hflip", V4L2_CID_HFLIP },
......
...@@ -120,12 +120,9 @@ ...@@ -120,12 +120,9 @@
#define GAMMA_TEXT N_( "Gamma" ) #define GAMMA_TEXT N_( "Gamma" )
#define GAMMA_LONGTEXT N_( \ #define GAMMA_LONGTEXT N_( \
"Gamma adjust." ) "Gamma adjust." )
#define EXPOSURE_TEXT N_( "Exposure" ) #define AUTOGAIN_TEXT N_( "Automatic gain" )
#define EXPOSURE_LONGTEXT N_( \
"Exposure." )
#define AUTOGAIN_TEXT N_( "Automatic gain/exposure" )
#define AUTOGAIN_LONGTEXT N_( \ #define AUTOGAIN_LONGTEXT N_( \
"Automatically set the video gain or exposure." ) "Automatically set the video gain." )
#define GAIN_TEXT N_( "Gain" ) #define GAIN_TEXT N_( "Gain" )
#define GAIN_LONGTEXT N_( \ #define GAIN_LONGTEXT N_( \
"Picture gain." ) "Picture gain." )
...@@ -392,8 +389,6 @@ vlc_module_begin () ...@@ -392,8 +389,6 @@ vlc_module_begin ()
BLUEBALANCE_LONGTEXT, true ) BLUEBALANCE_LONGTEXT, true )
add_integer( CFG_PREFIX "gamma", -1, GAMMA_TEXT, add_integer( CFG_PREFIX "gamma", -1, GAMMA_TEXT,
GAMMA_LONGTEXT, true ) GAMMA_LONGTEXT, true )
add_integer( CFG_PREFIX "exposure", -1, EXPOSURE_TEXT,
EXPOSURE_LONGTEXT, true )
add_integer( CFG_PREFIX "autogain", -1, AUTOGAIN_TEXT, add_integer( CFG_PREFIX "autogain", -1, AUTOGAIN_TEXT,
AUTOGAIN_LONGTEXT, true ) AUTOGAIN_LONGTEXT, true )
change_integer_list( tristate_vlc, tristate_user ) change_integer_list( tristate_vlc, tristate_user )
......
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