diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-15 11:04:05 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-25 16:16:37 +0000 |
commit | 2783d5a51a3054790587a06db8632a12247bc94d (patch) | |
tree | edb1d9c410ced254539403cfb55703c8d7760927 /options | |
parent | 36de0d784fe803b39445717293a3ca7a54ba0f51 (diff) | |
download | mpv-2783d5a51a3054790587a06db8632a12247bc94d.tar.bz2 mpv-2783d5a51a3054790587a06db8632a12247bc94d.tar.xz |
options: rename --play-dir to --play-direction
--play-dir sounds like it has something to do with directories so change
it. The play_dir variable is used a bunch everywhere internally so
whatever just leave it alone instead of renaming that.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index 17e03025d2..2bad7abb45 100644 --- a/options/options.c +++ b/options/options.c @@ -522,7 +522,7 @@ static const m_option_t mp_opts[] = { {"end", OPT_REL_TIME(play_end)}, {"length", OPT_REL_TIME(play_length)}, - {"play-dir", OPT_CHOICE(play_dir, + {"play-direction", OPT_CHOICE(play_dir, {"forward", 1}, {"+", 1}, {"backward", -1}, {"-", -1})}, {"rebase-start-time", OPT_BOOL(rebase_start_time)}, @@ -886,6 +886,7 @@ static const m_option_t mp_opts[] = { {"", OPT_SUBSTRUCT(encode_opts, encode_config)}, + {"play-dir", OPT_REPLACED("play-direction")}, {"screenshot-directory", OPT_REPLACED("screenshot-dir")}, {"sub-forced-only", OPT_REPLACED("sub-forced-events-only")}, {"watch-later-directory", OPT_REPLACED("watch-later-dir")}, |