added no progress bar warning for FFmpeg direct process scenarios

This commit is contained in:
k4yt3x 2023-05-31 15:24:12 +00:00
parent d66b7fa144
commit e725712be9

View File

@ -159,6 +159,7 @@ class Video2X:
processing_settings[2]
]
if getattr(standalone_processor, "process", None) is None:
logger.warning("No progress bar available for this processor")
standalone_processor().process_video(
input_path,
output_path,
@ -174,6 +175,7 @@ class Video2X:
processing_settings[1]
]
if getattr(standalone_processor, "process", None) is None:
logger.warning("No progress bar available for this processor")
standalone_processor().process_video(
input_path, output_path, frame_rate=frame_rate
)