mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-12-25 21:33:35 +00:00
web cam fixes cleanup
This commit is contained in:
parent
2b92e37f5e
commit
b169cc6efb
@ -2,6 +2,8 @@
|
||||
|
||||
set -x
|
||||
|
||||
exec 1> /opt/wz_mini/log/wz_cam.log 2>&1
|
||||
|
||||
cp /opt/wz_mini/etc/uvc.config /opt/wz_mini/usr/bin/uvc.config
|
||||
|
||||
if [[ $(cat /opt/wz_mini/run_mmc.sh | grep "WEB_CAM_FPS_RATE\=") != "" ]]; then
|
||||
@ -15,7 +17,6 @@ WEB_CAM_BIT_RATE=$(cat /opt/wz_mini/run_mmc.sh | grep "WEB_CAM_BIT_RATE\=" | cut
|
||||
sed -i "s/bitrate :8000/bitrate :$WEB_CAM_BIT_RATE/" "/opt/wz_mini/usr/bin/uvc.config"
|
||||
fi
|
||||
|
||||
exec 1> /opt/wz_mini/log/wz_cam.log 2>&1
|
||||
|
||||
mount --bind /opt/wz_mini/usr/bin /system/bin
|
||||
insmod /system/driver/avpu.ko
|
||||
|
@ -12,7 +12,7 @@ HOSTNAME="WCV3"
|
||||
#### W E B CAMERA###
|
||||
##THIS MODE DISABLES EVERYTHING AND IT WILL
|
||||
## WORK AS A WEB CAMERA FOR YOUR PC ***ONLY***
|
||||
WEB_CAM_ENABLE="true"
|
||||
WEB_CAM_ENABLE="false"
|
||||
WEB_CAM_BIT_RATE="8000"
|
||||
WEB_CAM_FPS_RATE="25"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user