Fix landscape_param

This commit is contained in:
Rien Maertens 2020-02-24 09:30:12 +01:00
parent 7558b0935a
commit 98709fc0c4
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF

View File

@ -25,11 +25,10 @@ fi
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"
read_loop="while $head_fb0; do $loop_wait; done | $compress"
set -e
ssh "$ssh_host" "$read_loop" \