We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef27fd0 commit ee72739Copy full SHA for ee72739
src/burn/generate_danmakus.py
@@ -26,8 +26,8 @@ def get_resolution(in_video_path):
26
print("The video resolution is " + resolution, flush=True)
27
return resolution
28
except subprocess.CalledProcessError as e:
29
- print(f"Error: {e.stderr}")
30
- return None
+ print(f"Error: {e.stderr}", flush=True)
+ return '1920x1080'
31
32
def process_danmakus(in_xml_path, resolution):
33
"""Generate and process the danmakus according to different resolution.
0 commit comments