Commit a209e61c authored by Alessandro Decina's avatar Alessandro Decina

Fix the check if libswscale needs enabling explicitly under OS X.

parent 7c91fb4c
......@@ -338,13 +338,13 @@ else
dnl checks for extra enable/disable flags
FFMPEG_OPTS="`$srcdir/gst-libs/ext/ffmpeg/configure --help`"
# Let's check if we can disable the building of the ffmpeg binary
can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg' | wc -l`
if test "$can_disable" != "0"; then
can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg'`
if test "$can_disable" != ""; then
embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffmpeg"
fi
dnl check if libswscale needs enabling explicitly
can_enable=`echo "$FFMPEG_OPTS" | grep 'enable-swscale' | wc -l`
if test "$can_enable" != "0"; then
can_enable=`echo "$FFMPEG_OPTS" | grep 'enable-swscale'`
if test "$can_enable" != ""; then
embffmpeg_configure_args="$embffmpeg_configure_args --enable-swscale"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment