From d0d2ae836655328629cfcdf9322490323f682027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Duraffort?= Date: Sun, 8 Mar 2009 22:17:38 +0100 Subject: [PATCH] access_v4l: take the option into account for "v4l_hue". --- modules/access/v4l.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/access/v4l.c b/modules/access/v4l.c index 5c83e3aa9d..2371e8449f 100644 --- a/modules/access/v4l.c +++ b/modules/access/v4l.c @@ -320,8 +320,7 @@ static int Open( vlc_object_t *p_this ) p_sys->i_video_pts = -1; p_sys->i_brightness = var_CreateGetInteger( p_demux, "v4l-brightness" ); - var_Create( p_demux, "v4l-hue", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT ); - p_sys->i_hue = -1; + p_sys->i_hue = var_CreateGetInteger( p_demux, "v4l-hue" ); p_sys->i_colour = var_CreateGetInteger( p_demux, "v4l-colour" ); p_sys->i_contrast = var_CreateGetInteger( p_demux, "v4l-contrast" );