Skip to content

Commit da69c4d

Browse files
committed
Fix order in zoom launcher so v4l2-ctl can do it's thing.
1 parent af2bc87 commit da69c4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

zoom-launcher

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
date=$(date +%Y%m%d)
2929
me=$(basename $0)
3030
mydir=$(dirname $0)
31+
video_device=/dev/video4
32+
3133
# FUNCTIONS
3234

3335
saver_on () {
@@ -44,8 +46,8 @@ saver_off () {
4446
# SCRIPT
4547

4648
saver_off
49+
v4l2-ctl -d $video_device --set-ctrl=white_balance_temperature_auto=0,power_line_frequency=1
50+
v4l2-ctl -d $video_device --set-ctrl=white_balance_temperature=3200,sharpness=200
4751
zoom
48-
# Dirty way to tune the camera a bit.
49-
v4l2-ctl -d /dev/video4 --set-ctrl=white_balance_temperature_auto=0 && v4l2-ctl -d /dev/video4 --set-ctrl=white_balance_temperature=3200,sharpness=200
5052
saver_on
5153
# END

0 commit comments

Comments
 (0)