Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1de4dba3
Commit
1de4dba3
authored
Oct 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L2: mark black-level obsolete (also kernel 2.6.26)
parent
4da99e58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
modules/access/v4l2/controls.c
modules/access/v4l2/controls.c
+0
-1
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+1
-5
No files found.
modules/access/v4l2/controls.c
View file @
1de4dba3
...
...
@@ -51,7 +51,6 @@ static const vlc_v4l2_ctrl_name_t controls[] =
{
"audio-treble"
,
V4L2_CID_AUDIO_TREBLE
},
{
"audio-mute"
,
V4L2_CID_AUDIO_MUTE
},
{
"audio-loudness"
,
V4L2_CID_AUDIO_LOUDNESS
},
{
"black-level"
,
V4L2_CID_BLACK_LEVEL
},
{
"auto-white-balance"
,
V4L2_CID_AUTO_WHITE_BALANCE
},
{
"do-white-balance"
,
V4L2_CID_DO_WHITE_BALANCE
},
{
"red-balance"
,
V4L2_CID_RED_BALANCE
},
...
...
modules/access/v4l2/video.c
View file @
1de4dba3
...
...
@@ -103,9 +103,6 @@
#define HUE_TEXT N_( "Hue" )
#define HUE_LONGTEXT N_( \
"Hue of the video input (if supported by the v4l2 driver)." )
#define BLACKLEVEL_TEXT N_( "Black level" )
#define BLACKLEVEL_LONGTEXT N_( \
"Black level of the video input (if supported by the v4l2 driver)." )
#define AUTOWHITEBALANCE_TEXT N_( "Auto white balance" )
#define AUTOWHITEBALANCE_LONGTEXT N_( \
"Automatically set the white balance of the video input " \
...
...
@@ -334,8 +331,7 @@ vlc_module_begin ()
SATURATION_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"hue"
,
-
1
,
HUE_TEXT
,
HUE_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"black-level"
,
-
1
,
BLACKLEVEL_TEXT
,
BLACKLEVEL_LONGTEXT
,
true
)
add_obsolete_integer
(
CFG_PREFIX
"black-level"
)
/* since Linux 2.6.26 */
add_integer
(
CFG_PREFIX
"auto-white-balance"
,
-
1
,
AUTOWHITEBALANCE_TEXT
,
AUTOWHITEBALANCE_LONGTEXT
,
true
)
change_integer_list
(
tristate_vlc
,
tristate_user
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment