From dd627b3e13fecefcba709787580031c8bc5ccd78 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Fri, 4 Mar 2022 16:45:16 +0200 Subject: [PATCH] declared ASF support in FFMPEG converter --- .../meviz/encoder/converters/AbstractConverter.java | 4 ++-- .../eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java index bb2dccc..97dd7c9 100755 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/AbstractConverter.java @@ -18,9 +18,9 @@ public abstract class AbstractConverter { public abstract String getCommand(File inputFile, File targetFile, EncodingOptions options, String targetFormat); - protected abstract List getSourceFileExtensions(); + public abstract List getSourceFileExtensions(); - protected abstract List getTargetFileExtensions(); + public abstract List getTargetFileExtensions(); /** * For some reasons some encoders require terminal to run. Until this is diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java index a2aeb81..127dfb8 100644 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/FFMpegVideo.java @@ -128,7 +128,7 @@ public class FFMpegVideo extends AbstractConverter { private List getSupportedExtensions() { return toList("mkv", "mts", "mp4", "avi", "mpg", "mpeg", "vob", "m4v", - "webm", "mov", "asf", "3gp"); + "webm", "mov", "asf", "3gp", "asf"); } @Override -- 2.20.1