summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sub/osd.c4
1 files 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),