mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
S18fps: fix wrong impdbg parameters for frame rate
This commit is contained in:
parent
f0c7c4e092
commit
8f18af08e6
@ -14,14 +14,14 @@ imp_fps() {
|
||||
#should be run after icamera is up --- FIXME
|
||||
if [ -n "$VIDEO_0_FPS" ]; then
|
||||
echo "Setting CH0 FPS"
|
||||
/system/bin/impdbg --enc_rc_s 0:8:4:$VIDEO_0_FPS
|
||||
/system/bin/impdbg --enc_rc_s 0:80:4:$VIDEO_0_FPS
|
||||
else
|
||||
echo "fps channel 0 is empty"
|
||||
fi
|
||||
|
||||
if [ -n "$VIDEO_1_FPS" ]; then
|
||||
echo "Setting CH0 FPS"
|
||||
/system/bin/impdbg --enc_rc_s 1:8:4:$VIDEO_1_FPS
|
||||
echo "Setting CH1 FPS"
|
||||
/system/bin/impdbg --enc_rc_s 1:80:4:$VIDEO_1_FPS
|
||||
else
|
||||
echo "fps channel 1 is empty"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user