vimrc: add detectindent
[shutils.git] / mp-play
diff --git a/mp-play b/mp-play
index 7adc101b7a15176ff0d13096444759a694d32131..cd40b2df1c96e37d94b48b7d109d6e6a13a98076 100755 (executable)
--- a/mp-play
+++ b/mp-play
@@ -7,7 +7,9 @@ if [ -x  "/usr/bin/mplayer2" ]; then
        player="/usr/bin/mplayer2"
 fi
 
-playeropts="-af-add bs2b"
+playeropts=""
+$player -af help | grep -q bs2b && playeropts="${playeropts} -af-add bs2b"
+
 
 optRandom=""
 optRepeat=""