foamCreateVideo: corrected test for avconv installation

This commit is contained in:
Chris Greenshields 2017-10-01 12:10:08 +01:00
parent bae45027f1
commit 90bd37616b

View file

@ -128,7 +128,7 @@ if [ "$fmt" = "webm" ] ; then
error "Please install avconv"
fi
else
if ! command -v avconv >/dev/null 2>&1 ; then
if command -v avconv >/dev/null 2>&1 ; then
echo "Creating image with avconv..."
avconv \
-framerate "$fps" \