mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-14 00:58:20 +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
|
#should be run after icamera is up --- FIXME
|
||||||
if [ -n "$VIDEO_0_FPS" ]; then
|
if [ -n "$VIDEO_0_FPS" ]; then
|
||||||
echo "Setting CH0 FPS"
|
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
|
else
|
||||||
echo "fps channel 0 is empty"
|
echo "fps channel 0 is empty"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$VIDEO_1_FPS" ]; then
|
if [ -n "$VIDEO_1_FPS" ]; then
|
||||||
echo "Setting CH0 FPS"
|
echo "Setting CH1 FPS"
|
||||||
/system/bin/impdbg --enc_rc_s 1:8:4:$VIDEO_1_FPS
|
/system/bin/impdbg --enc_rc_s 1:80:4:$VIDEO_1_FPS
|
||||||
else
|
else
|
||||||
echo "fps channel 1 is empty"
|
echo "fps channel 1 is empty"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user