summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-10-15 10:18:49 -0500
committerDudemanguy <random342@airmail.cc>2023-10-25 16:16:37 +0000
commit9924102c6685495ecbe4abdb6ca1a38c27919317 (patch)
tree17793d443e10042d4e07a2916e7c59bb9e08c330 /options/options.c
parent7aed492ccc48fd32084d7dfe65a50b5b90d8411a (diff)
downloadmpv-9924102c6685495ecbe4abdb6ca1a38c27919317.tar.bz2
mpv-9924102c6685495ecbe4abdb6ca1a38c27919317.tar.xz
options: rename --override-display-fps to --display-fps-override
Other similar options are in the form of --foo-override not --override-foo. The display-fps one was backwards so flip it around the other way for consistency reasons.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index e16a3a8d7d..fdf787cbf6 100644
--- a/options/options.c
+++ b/options/options.c
@@ -164,7 +164,7 @@ static const m_option_t mp_vo_opt_list[] = {
{"keepaspect-window", OPT_BOOL(keepaspect_window)},
{"hidpi-window-scale", OPT_BOOL(hidpi_window_scale)},
{"native-fs", OPT_BOOL(native_fs)},
- {"override-display-fps", OPT_DOUBLE(override_display_fps),
+ {"display-fps-override", OPT_DOUBLE(display_fps_override),
M_RANGE(0, DBL_MAX)},
{"video-timing-offset", OPT_DOUBLE(timing_offset), M_RANGE(0.0, 1.0)},
{"video-sync", OPT_CHOICE(video_sync,
@@ -217,6 +217,7 @@ static const m_option_t mp_vo_opt_list[] = {
{"android-surface-size", OPT_SIZE_BOX(android_surface_size)},
#endif
{"swapchain-depth", OPT_INT(swapchain_depth), M_RANGE(1, 8)},
+ {"override-display-fps", OPT_REPLACED("display-fps-override")},
{0}
};