summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-25 00:47:53 +0100
committerwm4 <wm4@nowhere>2019-11-25 00:47:53 +0100
commit3a2dc8b22e9f947c9cd3a91445b0731b8df1d798 (patch)
tree830404c6eeffd7c5ee9c7664d574cba84e7f8511 /options/options.c
parentc26e80d0fd1a751bac1674e5c0792b11eb57957d (diff)
downloadmpv-3a2dc8b22e9f947c9cd3a91445b0731b8df1d798.tar.bz2
mpv-3a2dc8b22e9f947c9cd3a91445b0731b8df1d798.tar.xz
command, options: deprecate old --display-fps behavior
See changelog and manpage changes. (So much effort to fix an ancient dumb mistake for an option nobody should use anyway.)
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 bbe596d24e..6437dc81c5 100644
--- a/options/options.c
+++ b/options/options.c
@@ -147,7 +147,7 @@ static const m_option_t mp_vo_opt_list[] = {
OPT_FLAG("keepaspect-window", keepaspect_window, 0),
OPT_FLAG("hidpi-window-scale", hidpi_window_scale, 0),
OPT_FLAG("native-fs", native_fs, 0),
- OPT_DOUBLE("display-fps", override_display_fps, M_OPT_MIN, .min = 0),
+ OPT_DOUBLE("override-display-fps", override_display_fps, M_OPT_MIN, .min = 0),
OPT_DOUBLERANGE("video-timing-offset", timing_offset, 0, 0.0, 1.0),
#if HAVE_X11
OPT_CHOICE("x11-netwm", x11_netwm, 0,
@@ -891,6 +891,7 @@ const m_option_t mp_opts[] = {
OPT_REMOVED("video-stereo-mode", "removed, try --vf=stereo3d"),
OPT_REMOVED("chapter", "use '--start=#123' '--end=#124' (for chapter 123)"),
OPT_REPLACED("video-aspect", "video-aspect-override"),
+ OPT_REPLACED("display-fps", "override-display-fps"),
{0}
};