diff --git a/av/ffmpeg-screencapture b/av/ffmpeg-screencapture index 9ff67fb..80d5ca9 100755 --- a/av/ffmpeg-screencapture +++ b/av/ffmpeg-screencapture @@ -75,6 +75,12 @@ for (( i=1; i<=$#; i++ )); do done + +if [[ $delay -gt 0 ]]; then + echo Waiting.. for $delay seconds + sleep $delay +fi + if [[ $new_shell -eq 0 ]]; then if [[ $interact -eq 1 ]]; then @@ -96,11 +102,6 @@ else fi -if [[ $delay -gt 0 ]]; then - echo Waiting.. for $delay seconds - sleep $delay -fi - echo Grabbing: $filename ${size}+$pos diff --git a/av/video-compress b/av/video-compress index 0918901..90c93e9 100755 --- a/av/video-compress +++ b/av/video-compress @@ -186,6 +186,7 @@ while true; do title Command echo "# $command" echo "" + lastchoice=EXECUTE get_choice EXECUTE resize compression audio fi