v4l2: Fixed Gamma.
authorRichard Hosking <hovis@videolan.org>
Sun, 2 Dec 2007 16:17:06 +0000 (16:17 +0000)
committerRichard Hosking <hovis@videolan.org>
Sun, 2 Dec 2007 16:17:06 +0000 (16:17 +0000)
modules/access/v4l2.c

index e215a03..e52e490 100644 (file)
@@ -2527,7 +2527,7 @@ static int VideoControlCallback( vlc_object_t *p_this,
     {
         p_sys->i_gamma = newval.i_int;
         return VideoControl( p_demux, i_fd,
-                    "gamma", V4L2_CID_HUE, p_sys->i_gamma );
+                    "gamma", V4L2_CID_GAMMA, p_sys->i_gamma );
     }
     else if( !strcmp( psz_var, "videocontrol" ) )
     {