[vlc-commits] V4L2: mark do-white-balance as obsolete
Rémi Denis-Courmont
git at videolan.org
Sat Oct 1 23:26:57 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 1 23:33:50 2011 +0300| [73600d9ac04a34918771698b873f8acf4caf8ad0] | committer: Rémi Denis-Courmont
V4L2: mark do-white-balance as obsolete
Doing the white balance is an action, showing as a "void" variable
in VLC and button control in V4L2. So it made no sense to have an
integer configuration item for it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73600d9ac04a34918771698b873f8acf4caf8ad0
---
modules/access/v4l2/video.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/modules/access/v4l2/video.c b/modules/access/v4l2/video.c
index 3483986..2aa3147 100644
--- a/modules/access/v4l2/video.c
+++ b/modules/access/v4l2/video.c
@@ -107,10 +107,6 @@
#define AUTOWHITEBALANCE_LONGTEXT N_( \
"Automatically set the white balance of the video input " \
"(if supported by the v4l2 driver)." )
-#define DOWHITEBALANCE_TEXT N_( "Do white balance" )
-#define DOWHITEBALANCE_LONGTEXT N_( \
- "Trigger a white balancing action, useless if auto white balance is " \
- "activated (if supported by the v4l2 driver)." )
#define REDBALANCE_TEXT N_( "Red balance" )
#define REDBALANCE_LONGTEXT N_( \
"Red balance of the video input (if supported by the v4l2 driver)." )
@@ -335,8 +331,7 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "auto-white-balance", -1,
AUTOWHITEBALANCE_TEXT, AUTOWHITEBALANCE_LONGTEXT, true )
change_integer_list( tristate_vlc, tristate_user )
- add_integer( CFG_PREFIX "do-white-balance", -1, DOWHITEBALANCE_TEXT,
- DOWHITEBALANCE_LONGTEXT, true )
+ add_obsolete_integer( CFG_PREFIX"do-white-balance" ) /* since 1.2.0 */
add_integer( CFG_PREFIX "red-balance", -1, REDBALANCE_TEXT,
REDBALANCE_LONGTEXT, true )
add_integer( CFG_PREFIX "blue-balance", -1, BLUEBALANCE_TEXT,
More information about the vlc-commits
mailing list