Allow any format that isn't ogg when dealing with mplayer

This commit is contained in:
Anna Rose 2010-03-25 15:04:42 -04:00 committed by Patrick Wiggins
parent e2f76a22f6
commit 922d8b89ae

View File

@ -62,8 +62,8 @@ foreach(@ARGV)
$short_name = $_; $short_name = $_;
if ($decoder =~ /mplayer/) if ($decoder =~ /mplayer/)
{ {
next unless (/\.(m4a|mp3)/); next if (/\.ogg/);
$short_name =~ s/\.(mp3|m4a)$//; $short_name =~ s/\..*?$//;
} }
else else
{ {