Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/burn/generate_danmakus.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def get_resolution(in_video_path):
print("The video resolution is " + resolution, flush=True)
return resolution
except subprocess.CalledProcessError as e:
print(f"Error: {e.stderr}")
return None
print(f"Error: {e.stderr}", flush=True)
return '1920x1080'

def process_danmakus(in_xml_path, resolution):
"""Generate and process the danmakus according to different resolution.
Expand Down