diff options
Diffstat (limited to 'ffmpeg')
-rwxr-xr-x | ffmpeg/resize-and-transcode | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg/resize-and-transcode b/ffmpeg/resize-and-transcode index f3fe017..a8d2001 100755 --- a/ffmpeg/resize-and-transcode +++ b/ffmpeg/resize-and-transcode @@ -99,8 +99,10 @@ if test -z "$scale" && test "$codec" = '-c:v copy'; then exit 1 fi +ttysetting="$(stty -g)" ffmpeg -i "$input" $scale $codec -c:a copy -- "$output" ret=$? +stty -- "$ttysetting" if test $ret = 0; then oldsize=$(stat -c '%s' -- "$input") |