Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6f1f23fb
Commit
6f1f23fb
authored
Jun 01, 2011
by
Rémi Denis-Courmont
Browse files
V4L2: set correct value for v4l2-standard and never overflow
parent
79a78505
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/v4l2.c
View file @
6f1f23fb
...
...
@@ -712,8 +712,7 @@ static void GetV4L2Params( demux_sys_t *p_sys, vlc_object_t *p_obj )
p_sys
->
psz_device
=
var_CreateGetNonEmptyString
(
p_obj
,
"v4l2-dev"
);
p_sys
->
i_selected_standard_id
=
i_standards_list
[
var_CreateGetInteger
(
p_obj
,
"v4l2-standard"
)];
var_CreateGetInteger
(
p_obj
,
"v4l2-standard"
);
p_sys
->
i_selected_input
=
var_CreateGetInteger
(
p_obj
,
"v4l2-input"
);
p_sys
->
i_selected_audio_input
=
var_CreateGetInteger
(
p_obj
,
"v4l2-audio-input"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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