sub border color

This commit is contained in:
j 2024-04-02 12:35:01 +02:00
parent f8bb75cd5b
commit 7654fc7d6c

View file

@ -25,6 +25,7 @@ CONFIG = {
"font": "Menlo", "font": "Menlo",
"font_size": 30, "font_size": 30,
"font_border": 4, "font_border": 4,
"sub_border_color": "0.0/0.0/0.0/0.75",
"sub_margin": 2 * 36 + 6, "sub_margin": 2 * 36 + 6,
"sub_spacing": 0, "sub_spacing": 0,
"vf": None "vf": None
@ -81,6 +82,7 @@ class Sync(Thread):
input_vo_keyboard=True, input_vo_keyboard=True,
sub_font_size=CONFIG["font_size"], sub_font=CONFIG["font"], sub_font_size=CONFIG["font_size"], sub_font=CONFIG["font"],
sub_border_size=CONFIG["font_border"], sub_border_size=CONFIG["font_border"],
sub_border_color=CONFIG["sub_border_color"],
sub_margin_y=CONFIG["sub_margin"], sub_margin_y=CONFIG["sub_margin"],
sub_ass_line_spacing=CONFIG["sub_spacing"], sub_ass_line_spacing=CONFIG["sub_spacing"],
) )
@ -90,6 +92,7 @@ class Sync(Thread):
input_vo_keyboard=True, input_vo_keyboard=True,
sub_text_font_size=CONFIG["font_size"], sub_text_font=CONFIG["font"], sub_text_font_size=CONFIG["font_size"], sub_text_font=CONFIG["font"],
sub_border_size=CONFIG["font_border"], sub_border_size=CONFIG["font_border"],
sub_border_color=CONFIG["sub_border_color"],
sub_margin_y=CONFIG["sub_margin"], sub_margin_y=CONFIG["sub_margin"],
sub_ass_line_spacing=CONFIG["sub_spacing"], sub_ass_line_spacing=CONFIG["sub_spacing"],
) )