code cleanup and formatting
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / converters / Ffmpeg2theora.java
index b2afedb..e214bd9 100755 (executable)
@@ -9,34 +9,34 @@
 
 package eu.svjatoslav.meviz.encoder.converters;
 
+import eu.svjatoslav.meviz.encoder.EncodingOptions;
+
 import java.io.File;
 import java.util.List;
 
-import eu.svjatoslav.meviz.encoder.EncodingOptions;
-
 public class Ffmpeg2theora extends AbstractConverter {
 
-       @Override
-       public String getCommand(final File inputFile, final File targetFile,
-                       final EncodingOptions options, String targetFormat) {
-               return "ffmpeg2theora \"" + inputFile.getAbsolutePath() + "\" -o \""
-                               + targetFile.getAbsolutePath()
-                               + "\" --optimize --videobitrate 3000 --width 800";
-       }
-
-       @Override
-       public List<String> getSourceFileExtensions() {
-               return toList("avi", "mp4", "m4v", "asf");
-       }
-
-       @Override
-       public List<String> getTargetFileExtensions() {
-               return toList("ogv");
-       }
-
-       @Override
-       public boolean isTerminalMandatory() {
-               return true;
-       }
+    @Override
+    public String getCommand(final File inputFile, final File targetFile,
+                             final EncodingOptions options, String targetFormat) {
+        return "ffmpeg2theora \"" + inputFile.getAbsolutePath() + "\" -o \""
+                + targetFile.getAbsolutePath()
+                + "\" --optimize --videobitrate 3000 --width 800";
+    }
+
+    @Override
+    public List<String> getSourceFileExtensions() {
+        return toList("avi", "mp4", "m4v", "asf");
+    }
+
+    @Override
+    public List<String> getTargetFileExtensions() {
+        return toList("ogv");
+    }
+
+    @Override
+    public boolean isTerminalMandatory() {
+        return true;
+    }
 
 }