Commit d6fa2907 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

test/test_seeking.sh : Fix detection of Ogg support.

parent e21237a8
......@@ -78,15 +78,13 @@ run_test_seeking ()
fi
}
echo "Checking for --ogg support in flac..."
if flac --ogg --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then
echo -n "Checking for --ogg support in flac ... "
if flac --ogg --no-error-on-compression-fail --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then
has_ogg=yes;
echo "flac --ogg works"
else
has_ogg=no;
echo "flac --ogg doesn't work"
fi
echo ${has_ogg}
echo "Generating streams..."
if [ ! -f noise.raw ] ; then
......
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