mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +00:00
fixed pixel_formats print bug and subprocess execution bug
This commit is contained in:
parent
7ae9618785
commit
b1918a4a8a
@ -4,7 +4,7 @@
|
|||||||
Name: Video2X FFmpeg Controller
|
Name: Video2X FFmpeg Controller
|
||||||
Author: K4YT3X
|
Author: K4YT3X
|
||||||
Date Created: Feb 24, 2018
|
Date Created: Feb 24, 2018
|
||||||
Last Modified: October 6, 2019
|
Last Modified: November 15, 2019
|
||||||
|
|
||||||
Description: This class handles all FFmpeg related operations.
|
Description: This class handles all FFmpeg related operations.
|
||||||
"""
|
"""
|
||||||
@ -67,7 +67,7 @@ class Ffmpeg:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# print pixel formats for debugging
|
# print pixel formats for debugging
|
||||||
Avalon.debug_info(pixel_formats)
|
Avalon.debug_info(str(pixel_formats))
|
||||||
|
|
||||||
return pixel_formats
|
return pixel_formats
|
||||||
|
|
||||||
@ -284,4 +284,4 @@ class Ffmpeg:
|
|||||||
|
|
||||||
Avalon.debug_info(f'Executing: {execute}')
|
Avalon.debug_info(f'Executing: {execute}')
|
||||||
|
|
||||||
return subprocess.run(execute, shell=True, check=True).returncode
|
return subprocess.run(execute, check=True).returncode
|
||||||
|
Loading…
Reference in New Issue
Block a user