1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

sub/osd: remove limits from border and shadow size options

This commit is contained in:
Ricardo Constantino 2018-01-24 19:35:55 +00:00
parent 28021feabb
commit f6d02457e2
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531

View File

@ -50,8 +50,8 @@ static const m_option_t style_opts[] = {
OPT_COLOR("border-color", border_color, 0),
OPT_COLOR("shadow-color", shadow_color, 0),
OPT_COLOR("back-color", back_color, 0),
OPT_FLOATRANGE("border-size", border_size, 0, 0, 10),
OPT_FLOATRANGE("shadow-offset", shadow_offset, 0, 0, 10),
OPT_FLOAT("border-size", border_size, 0),
OPT_FLOAT("shadow-offset", shadow_offset, 0),
OPT_FLOATRANGE("spacing", spacing, 0, -10, 10),
OPT_INTRANGE("margin-x", margin_x, 0, 0, 300),
OPT_INTRANGE("margin-y", margin_y, 0, 0, 600),