Skip to content

Commit

Permalink
added no progress bar warning for FFmpeg direct process scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
k4yt3x committed May 31, 2023
1 parent d66b7fa commit e725712
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions video2x/video2x.py
Expand Up @@ -159,6 +159,7 @@ def _run(
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,
Expand All @@ -174,6 +175,7 @@ def _run(
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
)
Expand Down

0 comments on commit e725712

Please sign in to comment.