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
c7fd60df
Commit
c7fd60df
authored
Sep 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark as safe v4l2 options already allowed by ParseMRL()
parent
9a35916b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
modules/access/v4l2.c
modules/access/v4l2.c
+14
-0
No files found.
modules/access/v4l2.c
View file @
c7fd60df
...
...
@@ -309,25 +309,34 @@ vlc_module_begin ()
set_section
(
N_
(
"Video input"
),
NULL
)
add_string
(
CFG_PREFIX
"dev"
,
"/dev/video0"
,
DEVICE_TEXT
,
DEVICE_LONGTEXT
,
false
)
change_safe
()
add_string
(
CFG_PREFIX
"standard"
,
""
,
STANDARD_TEXT
,
STANDARD_LONGTEXT
,
false
)
change_string_list
(
standards_vlc
,
standards_user
,
NULL
)
change_safe
()
add_string
(
CFG_PREFIX
"chroma"
,
NULL
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
change_safe
()
add_integer
(
CFG_PREFIX
"input"
,
0
,
INPUT_TEXT
,
INPUT_LONGTEXT
,
true
)
change_integer_range
(
0
,
0xFFFFFFFE
)
change_safe
()
add_integer
(
CFG_PREFIX
"audio-input"
,
0
,
AUDIO_INPUT_TEXT
,
AUDIO_INPUT_LONGTEXT
,
true
)
change_integer_range
(
0
,
0xFFFFFFFE
)
change_safe
()
add_obsolete_integer
(
CFG_PREFIX
"io"
)
/* since 1.2.0 */
add_integer
(
CFG_PREFIX
"width"
,
DEFAULT_WIDTH
,
WIDTH_TEXT
,
WIDTH_LONGTEXT
,
true
)
change_safe
()
add_integer
(
CFG_PREFIX
"height"
,
DEFAULT_HEIGHT
,
HEIGHT_TEXT
,
HEIGHT_LONGTEXT
,
true
)
change_safe
()
add_string
(
CFG_PREFIX
"aspect-ratio"
,
"4:3"
,
ASPECT_TEXT
,
ASPECT_LONGTEXT
,
true
)
change_safe
()
add_float
(
CFG_PREFIX
"fps"
,
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
change_safe
()
#ifdef HAVE_LIBV4L2
add_bool
(
CFG_PREFIX
"use-libv4l2"
,
false
,
LIBV4L2_TEXT
,
LIBV4L2_LONGTEXT
,
true
);
#endif
...
...
@@ -336,17 +345,21 @@ vlc_module_begin ()
add_integer
(
CFG_PREFIX
"tuner"
,
0
,
TUNER_TEXT
,
TUNER_LONGTEXT
,
true
)
change_integer_range
(
0
,
0xFFFFFFFE
)
change_safe
()
add_integer
(
CFG_PREFIX
"tuner-frequency"
,
-
1
,
FREQUENCY_TEXT
,
FREQUENCY_LONGTEXT
,
true
)
change_safe
()
add_integer
(
CFG_PREFIX
"tuner-audio-mode"
,
-
1
,
TUNER_AUDIO_MODE_TEXT
,
TUNER_AUDIO_MODE_LONGTEXT
,
true
)
change_integer_list
(
i_tuner_audio_modes_list
,
psz_tuner_audio_modes_list_text
)
change_safe
()
set_section
(
N_
(
"Controls"
),
N_
(
"v4l2 driver controls, if supported by your v4l2 driver."
)
)
add_bool
(
CFG_PREFIX
"controls-reset"
,
false
,
CTRL_RESET_TEXT
,
CTRL_RESET_LONGTEXT
,
true
)
change_safe
()
add_integer
(
CFG_PREFIX
"brightness"
,
-
1
,
BRIGHTNESS_TEXT
,
BRIGHTNESS_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"contrast"
,
-
1
,
CONTRAST_TEXT
,
...
...
@@ -395,6 +408,7 @@ vlc_module_begin ()
AUDIO_LOUDNESS_LONGTEXT
,
true
)
add_string
(
CFG_PREFIX
"set-ctrls"
,
NULL
,
S_CTRLS_TEXT
,
S_CTRLS_LONGTEXT
,
true
)
change_safe
()
add_obsolete_string
(
CFG_PREFIX
"adev"
)
add_obsolete_integer
(
CFG_PREFIX
"audio-method"
)
...
...
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