[vlc-devel] commit: access_v4l: take the option into account for "v4l_hue". ( Rémi Duraffort )

git version control git at videolan.org
Sun Mar 8 23:08:27 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar  8 22:17:38 2009 +0100| [d0d2ae836655328629cfcdf9322490323f682027] | committer: Rémi Duraffort 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d0d2ae836655328629cfcdf9322490323f682027
---

 modules/access/v4l.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/access/v4l.c b/modules/access/v4l.c
index 5c83e3a..2371e84 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" );
 




More information about the vlc-devel mailing list