This commit is contained in:
Rien Maertens 2020-10-29 12:07:59 +01:00
parent 995486e1ec
commit d436a8ecb0
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF

View File

@ -102,9 +102,9 @@ rm2_getpointer() {
;;
*) # use last known version if we cannot find a match
echo "WARNING: unknown reMarkable 2 release version" >&2
echo "consider updating if reStream doesn't work" >&2
echo "consider updating if reStream doesn't work" >&2
echo "???"
;;
;;
esac
}
@ -140,12 +140,10 @@ case "$rm_version" in
;;
esac
# technical parameters
loop_wait="true"
loglevel="info"
fallback_to_gzip() {
echo "Falling back to gzip, your experience may not be optimal."
echo "Go to https://github.com/rien/reStream/#sub-second-latency for a better experience."
@ -191,7 +189,6 @@ video_filters=""
# store extra ffmpeg arguments in $@
set --
# rotate 90 degrees if landscape=true
$landscape && video_filters="$video_filters,transpose=1"
@ -207,7 +204,6 @@ fi
# set each frame presentation time to the time it is received
video_filters="$video_filters,setpts=(RTCTIME - RTCSTART) / (TB * 1000000)"
# loop that keeps on reading and compressing, to be executed remotely
read_loop="while $head_fb0; do $loop_wait; done | $compress"