From f6d02457e2f83fc7414850a87c90d2ef7ed92476 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Wed, 24 Jan 2018 19:35:55 +0000 Subject: sub/osd: remove limits from border and shadow size options --- sub/osd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sub/osd.c b/sub/osd.c index eb924db561..8bd32eeb6a 100644 --- a/sub/osd.c +++ b/sub/osd.c @@ -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), -- cgit v1.2.3