Fix landscape_param
This commit is contained in:
parent
7558b0935a
commit
98709fc0c4
@ -25,11 +25,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
window_bytes="$(($width*$height*$bytes_per_pixel))"
|
window_bytes="$(($width*$height*$bytes_per_pixel))"
|
||||||
orientation_param="$($landscape && echo '-vf transpose=1')"
|
landscape_param="$($landscape && echo '-vf transpose=1')"
|
||||||
head_fb0="dd if=/dev/fb0 count=1 bs=$window_bytes 2>/dev/null"
|
head_fb0="dd if=/dev/fb0 count=1 bs=$window_bytes 2>/dev/null"
|
||||||
read_loop="while $head_fb0; do $loop_wait; done | $compress"
|
read_loop="while $head_fb0; do $loop_wait; done | $compress"
|
||||||
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
ssh "$ssh_host" "$read_loop" \
|
ssh "$ssh_host" "$read_loop" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user