Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9c56e429
Commit
9c56e429
authored
Oct 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify V4L2 config item strings
parent
73600d9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
36 deletions
+29
-36
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+29
-36
No files found.
modules/access/v4l2/video.c
View file @
9c56e429
...
@@ -88,69 +88,62 @@
...
@@ -88,69 +88,62 @@
"Force usage of the libv4l2 wrapper." )
"Force usage of the libv4l2 wrapper." )
#endif
#endif
#define CTRL_RESET_TEXT N_( "Reset v4l2 controls" )
#define CTRL_RESET_TEXT N_( "Reset controls" )
#define CTRL_RESET_LONGTEXT N_( \
#define CTRL_RESET_LONGTEXT N_( "Reset controls to defaults." )
"Reset controls to defaults provided by the v4l2 driver." )
#define BRIGHTNESS_TEXT N_( "Brightness" )
#define BRIGHTNESS_TEXT N_( "Brightness" )
#define BRIGHTNESS_LONGTEXT N_( \
#define BRIGHTNESS_LONGTEXT N_( "Picture brightness or black level." )
"Brightness of the video input (if supported by the v4l2 driver)." )
#define CONTRAST_TEXT N_( "Contrast" )
#define CONTRAST_TEXT N_( "Contrast" )
#define CONTRAST_LONGTEXT N_( \
#define CONTRAST_LONGTEXT N_( "Picture contrast or luma gain." )
"Contrast of the video input (if supported by the v4l2 driver)." )
#define SATURATION_TEXT N_( "Saturation" )
#define SATURATION_TEXT N_( "Saturation" )
#define SATURATION_LONGTEXT N_( \
#define SATURATION_LONGTEXT N_( "Picture saturation or chroma gain." )
"Saturation of the video input (if supported by the v4l2 driver)." )
#define HUE_TEXT N_( "Hue" )
#define HUE_TEXT N_( "Hue" )
#define HUE_LONGTEXT N_( \
#define HUE_LONGTEXT N_( "Hue or color balance." )
"Hue of the video input (if supported by the v4l2 driver)." )
#define AUTOWHITEBALANCE_TEXT N_( "Automatic white balance" )
#define AUTOWHITEBALANCE_TEXT N_( "Auto white balance" )
#define AUTOWHITEBALANCE_LONGTEXT N_( \
#define AUTOWHITEBALANCE_LONGTEXT N_( \
"Automatically set the white balance of the video input " \
"Automatically adjust the picture white balance." )
"(if supported by the v4l2 driver)." )
#define REDBALANCE_TEXT N_( "Red balance" )
#define REDBALANCE_TEXT N_( "Red balance" )
#define REDBALANCE_LONGTEXT N_( \
#define REDBALANCE_LONGTEXT N_( \
"Red
balance of the video input (if supported by the v4l2 driver)
." )
"Red
chroma balance
." )
#define BLUEBALANCE_TEXT N_( "Blue balance" )
#define BLUEBALANCE_TEXT N_( "Blue balance" )
#define BLUEBALANCE_LONGTEXT N_( \
#define BLUEBALANCE_LONGTEXT N_( \
"Blue
balance of the video input (if supported by the v4l2 driver)
." )
"Blue
chroma balance
." )
#define GAMMA_TEXT N_( "Gamma" )
#define GAMMA_TEXT N_( "Gamma" )
#define GAMMA_LONGTEXT N_( \
#define GAMMA_LONGTEXT N_( \
"Gamma
of the video input (if supported by the v4l2 driver)
." )
"Gamma
adjust
." )
#define EXPOSURE_TEXT N_( "Exposure" )
#define EXPOSURE_TEXT N_( "Exposure" )
#define EXPOSURE_LONGTEXT N_( \
#define EXPOSURE_LONGTEXT N_( \
"Exposure
of the video input (if supported by the v4L2 driver)
." )
"Exposure." )
#define AUTOGAIN_TEXT N_( "Automatic gain/exposure" )
#define AUTOGAIN_TEXT N_( "Automatic gain/exposure" )
#define AUTOGAIN_LONGTEXT N_( \
#define AUTOGAIN_LONGTEXT N_( \
"Automatically set the video gain/exposure (if supported by the " \
"Automatically set the video gain or exposure." )
"v4l2 driver)." )
#define GAIN_TEXT N_( "Gain" )
#define GAIN_TEXT N_( "Gain" )
#define GAIN_LONGTEXT N_( \
#define GAIN_LONGTEXT N_( \
"
Video input's gain (if supported by the v4l2 driver)
." )
"
Picture gain
." )
#define HFLIP_TEXT N_( "Horizontal flip" )
#define HFLIP_TEXT N_( "Horizontal flip" )
#define HFLIP_LONGTEXT N_( \
#define HFLIP_LONGTEXT N_( \
"Flip the
video horizontally (if supported by the v4l2 driver)
." )
"Flip the
picture horizontally
." )
#define VFLIP_TEXT N_( "Vertical flip" )
#define VFLIP_TEXT N_( "Vertical flip" )
#define VFLIP_LONGTEXT N_( \
#define VFLIP_LONGTEXT N_( \
"Flip the
video vertically (if supported by the v4l2 driver)
." )
"Flip the
picture vertically
." )
#define AUDIO_VOLUME_TEXT N_( "
V
olume" )
#define AUDIO_VOLUME_TEXT N_( "
Audio v
olume" )
#define AUDIO_VOLUME_LONGTEXT N_( \
#define AUDIO_VOLUME_LONGTEXT N_( \
"Volume of the audio input
(if supported by the v4l2 driver)
." )
"Volume of the audio input." )
#define AUDIO_BALANCE_TEXT N_( "
B
alance" )
#define AUDIO_BALANCE_TEXT N_( "
Audio b
alance" )
#define AUDIO_BALANCE_LONGTEXT N_( \
#define AUDIO_BALANCE_LONGTEXT N_( \
"Balance of the audio input (if supported by the v4l2 driver)." )
"Balance of the audio input." )
#define AUDIO_MUTE_TEXT N_( "Mute" )
#define AUDIO_BASS_TEXT N_( "Bass level" )
#define AUDIO_MUTE_LONGTEXT N_( \
"Mute audio input (if supported by the v4l2 driver)." )
#define AUDIO_BASS_TEXT N_( "Bass" )
#define AUDIO_BASS_LONGTEXT N_( \
#define AUDIO_BASS_LONGTEXT N_( \
"Bass
level of the audio input (if supported by the v4l2 driver)
." )
"Bass
adjustment of the audio input
." )
#define AUDIO_TREBLE_TEXT N_( "Treble" )
#define AUDIO_TREBLE_TEXT N_( "Treble
level
" )
#define AUDIO_TREBLE_LONGTEXT N_( \
#define AUDIO_TREBLE_LONGTEXT N_( \
"Treble level of the audio input (if supported by the v4l2 driver)." )
"Treble adjustment of the audio input." )
#define AUDIO_MUTE_TEXT N_( "Mute" )
#define AUDIO_MUTE_LONGTEXT N_( \
"Mute the audio." )
#define AUDIO_LOUDNESS_TEXT N_( "Loudness mode" )
#define AUDIO_LOUDNESS_TEXT N_( "Loudness mode" )
#define AUDIO_LOUDNESS_LONGTEXT N_( \
#define AUDIO_LOUDNESS_LONGTEXT N_( \
"Loudness mode a.k.a. bass boost
(if supported by the v4l2 driver)
." )
"Loudness mode a.k.a. bass boost." )
#define S_CTRLS_TEXT N_("v4l2 driver controls")
#define S_CTRLS_TEXT N_("v4l2 driver controls")
#define S_CTRLS_LONGTEXT N_( \
#define S_CTRLS_LONGTEXT N_( \
...
@@ -315,7 +308,7 @@ vlc_module_begin ()
...
@@ -315,7 +308,7 @@ vlc_module_begin ()
change_safe
()
change_safe
()
set_section
(
N_
(
"Controls"
),
set_section
(
N_
(
"Controls"
),
N_
(
"
v4l2 driver controls, if supported by your v4l2 driver.
"
)
)
N_
(
"
Video capture controls (if supported by the device)
"
)
)
add_bool
(
CFG_PREFIX
"controls-reset"
,
false
,
CTRL_RESET_TEXT
,
add_bool
(
CFG_PREFIX
"controls-reset"
,
false
,
CTRL_RESET_TEXT
,
CTRL_RESET_LONGTEXT
,
true
)
CTRL_RESET_LONGTEXT
,
true
)
change_safe
()
change_safe
()
...
...
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