diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-15 10:18:49 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-25 16:16:37 +0000 |
commit | 9924102c6685495ecbe4abdb6ca1a38c27919317 (patch) | |
tree | 17793d443e10042d4e07a2916e7c59bb9e08c330 /options | |
parent | 7aed492ccc48fd32084d7dfe65a50b5b90d8411a (diff) | |
download | mpv-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')
-rw-r--r-- | options/options.c | 3 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 3 insertions, 2 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} }; diff --git a/options/options.h b/options/options.h index 1453620c96..0dcbe0adef 100644 --- a/options/options.h +++ b/options/options.h @@ -69,7 +69,7 @@ typedef struct mp_vo_opts { char *mmcss_profile; int window_corners; - double override_display_fps; + double display_fps_override; double timing_offset; int video_sync; |