[vlc-commits] V4L2: set correct value for v4l2-standard and never overflow
Rémi Denis-Courmont
git at videolan.org
Wed Jun 1 21:48:08 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 1 22:42:48 2011 +0300| [6f1f23fb4cb5ba05e299530a05d6887143ff9335] | committer: Rémi Denis-Courmont
V4L2: set correct value for v4l2-standard and never overflow
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f1f23fb4cb5ba05e299530a05d6887143ff9335
---
modules/access/v4l2.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index 2ad04ba..21ba435 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -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" );
More information about the vlc-commits
mailing list