From 0953fc52a1ccd22523d085450ceaa76ccd0350e6 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Tue, 12 May 2020 20:31:39 -0400 Subject: [PATCH] made image format optional --- src/wrappers/ffmpeg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrappers/ffmpeg.py b/src/wrappers/ffmpeg.py index fadcc7d..627e4f2 100644 --- a/src/wrappers/ffmpeg.py +++ b/src/wrappers/ffmpeg.py @@ -4,7 +4,7 @@ Name: Video2X FFmpeg Controller Author: K4YT3X Date Created: Feb 24, 2018 -Last Modified: May 9, 2020 +Last Modified: May 12, 2020 Description: This class handles all FFmpeg related operations. """ @@ -27,7 +27,7 @@ class Ffmpeg: and inserting audio tracks to videos. """ - def __init__(self, ffmpeg_settings, image_format): + def __init__(self, ffmpeg_settings, image_format='png'): self.ffmpeg_settings = ffmpeg_settings self.ffmpeg_path = pathlib.Path(self.ffmpeg_settings['ffmpeg_path'])