From 3a2dc8b22e9f947c9cd3a91445b0731b8df1d798 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Nov 2019 00:47:53 +0100 Subject: 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.) --- options/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/options.c') 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} }; -- cgit v1.2.3