From dff5bd12f1bf4281f4da33384c93024fcbf77d66 Mon Sep 17 00:00:00 2001 From: OleSTEEP Date: Fri, 19 Jul 2024 02:22:38 +0300 Subject: [PATCH] FFMpeg-Compressor: Remove .gif from video section --- FFMpeg-Compressor/modules/compressor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFMpeg-Compressor/modules/compressor.py b/FFMpeg-Compressor/modules/compressor.py index b8fa04a..db9080e 100644 --- a/FFMpeg-Compressor/modules/compressor.py +++ b/FFMpeg-Compressor/modules/compressor.py @@ -10,7 +10,7 @@ import os def get_file_type(filename): audio_ext = ['.aac', '.flac', '.m4a', '.mp3', '.ogg', '.opus', '.raw', '.wav', '.wma'] image_ext = ['.apng', '.avif', '.bmp', '.tga', '.tiff', '.dds', '.svg', '.webp', '.jpg', '.jpeg', '.png'] - video_ext = ['.3gp' '.amv', '.avi', '.gif', '.m2t', '.m4v', '.mkv', '.mov', '.mp4', '.m4v', '.mpeg', '.mpv', + video_ext = ['.3gp' '.amv', '.avi', '.m2t', '.m4v', '.mkv', '.mov', '.mp4', '.m4v', '.mpeg', '.mpv', '.webm', '.ogv'] if os.path.splitext(filename)[1] in audio_ext: