/*
* Meviz - Various tools collection to work with multimedia.
* Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
+ targetFormat
+ " format.");
else {
- final AbstractConverter chosenFormat = formats.get(0);
+ final AbstractConverter chosenFormat = formats
+ .get(0);
final EncodingTask encodingTask = new EncodingTask(
- sourceFile, targetFile, chosenFormat);
+ sourceFile, targetFile, chosenFormat,
+ targetFormat);
if (chosenFormat.isTerminalMandatory())
encodingTask.setUseTerminal(true);