fix --mp3/vorbis/flac argument parsing swallowing the last non-audio argument

svn-id: r46031
This commit is contained in:
Joost Peters
2009-11-21 00:37:54 +00:00
parent 148867e54c
commit 0bd5682c96
+3
View File
@@ -743,6 +743,7 @@ bool CompressionTool::processMp3Parms() {
} else if (arg == "--silent") {
encparms.silent = 1;
} else {
_arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}
@@ -823,6 +824,7 @@ bool CompressionTool::processOggParms() {
} else if (arg == "--silent") {
oggparms.silent = 1;
} else {
_arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}
@@ -867,6 +869,7 @@ bool CompressionTool::processFlacParms(){
} else if (arg == "--silent") {
flacparms.silent = true;
} else {
_arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}