From 985c330f64f8127a0c04e43efe7aa3371f12e256 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 18 May 2017 09:59:39 +0200 Subject: Fix include function echo_n. --- bin/decode+edit+encode | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/decode+edit+encode') diff --git a/bin/decode+edit+encode b/bin/decode+edit+encode index 0b11a7e..3735b2f 100755 --- a/bin/decode+edit+encode +++ b/bin/decode+edit+encode @@ -29,6 +29,11 @@ elif [ $HEIGHT -le 720 ]; then # 720p → 921600 VBITRATE=3000000 fi +# shellcheck disable=SC2048,SC2059 +echo_n() { + printf -- "$*" +} + encode_vp8() { bitrate=$1; speed=$2; echo_n "-codec:v vp8 -quality realtime -deadline 1000000 -cpu-used $speed \ -b:v $bitrate -minrate $bitrate -maxrate $bitrate \ -- cgit v1.2.3