summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/interface-changes.rst2
-rw-r--r--options/options.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 45aaf99515..1b2e30fc10 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -65,6 +65,8 @@ Interface changes
vaguely a replacement of the removed option, but not the same
- change another detail for track selection options (see --aid manpage
entry)
+ - reading loop-file property as native property or mpv_node will now return
+ "inf" instead of boolean true (also affects loop option)
--- mpv 0.32.0 ---
- change behavior when using legacy option syntax with options that start
with two dashes (``--`` instead of a ``-``). Now, using the recommended
diff --git a/options/options.c b/options/options.c
index 881810589d..ac18960af0 100644
--- a/options/options.c
+++ b/options/options.c
@@ -648,8 +648,8 @@ static const m_option_t mp_opts[] = {
M_RANGE(1, 10000)},
{"loop-file", OPT_CHOICE(loop_file,
{"no", 0},
- {"yes", -1},
- {"inf", -1}),
+ {"inf", -1},
+ {"yes", -1}),
M_RANGE(0, 10000)},
{"loop", OPT_ALIAS("loop-file")},