gst-element-check.m4: fix action-if-found and not-found invocation

Arguments got shifted back by one.
This commit is contained in:
Tim-Philipp Müller 2012-09-05 19:55:10 +01:00
parent 9439e73eec
commit fe3efe2b75

View file

@ -20,14 +20,14 @@ AC_DEFUN([GST_ELEMENT_CHECK],
AC_MSG_CHECKING(GStreamer $gstapiversion element $1 >= $2)
if [ $gstinspect --exists --atleast-version=$2 $1 ]; then
AC_MSG_RESULT([found])
$2
$3
else
if [ $gstinspect --exists $1 ]; then
AC_MSG_RESULT([found, but too old])
else
AC_MSG_RESULT([not found])
fi
$3
$4
fi
fi
])