Commit d0d2ae83 authored by Rémi Duraffort's avatar Rémi Duraffort

access_v4l: take the option into account for "v4l_hue".

parent 78f00ed7
...@@ -320,8 +320,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -320,8 +320,7 @@ static int Open( vlc_object_t *p_this )
p_sys->i_video_pts = -1; p_sys->i_video_pts = -1;
p_sys->i_brightness = var_CreateGetInteger( p_demux, "v4l-brightness" ); 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 = var_CreateGetInteger( p_demux, "v4l-hue" );
p_sys->i_hue = -1;
p_sys->i_colour = var_CreateGetInteger( p_demux, "v4l-colour" ); p_sys->i_colour = var_CreateGetInteger( p_demux, "v4l-colour" );
p_sys->i_contrast = var_CreateGetInteger( p_demux, "v4l-contrast" ); p_sys->i_contrast = var_CreateGetInteger( p_demux, "v4l-contrast" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment