declared ASF support in FFMPEG converter
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Fri, 4 Mar 2022 14:45:16 +0000 (16:45 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Fri, 4 Mar 2022 14:45:16 +0000 (16:45 +0200)
src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java
src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java

index bb2dccc..97dd7c9 100755 (executable)
@@ -18,9 +18,9 @@ public abstract class AbstractConverter {
     public abstract String getCommand(File inputFile, File targetFile,
                                       EncodingOptions options, String targetFormat);
 
-    protected abstract List<String> getSourceFileExtensions();
+    public abstract List<String> getSourceFileExtensions();
 
-    protected abstract List<String> getTargetFileExtensions();
+    public abstract List<String> getTargetFileExtensions();
 
     /**
      * For some reasons some encoders require terminal to run. Until this is
index a2aeb81..127dfb8 100644 (file)
@@ -128,7 +128,7 @@ public class FFMpegVideo extends AbstractConverter {
 
     private List<String> getSupportedExtensions() {
         return toList("mkv", "mts", "mp4", "avi", "mpg", "mpeg", "vob", "m4v",
-                "webm", "mov", "asf", "3gp");
+                "webm", "mov", "asf", "3gp", "asf");
     }
 
     @Override