From 4f984b987c323b63db9e4926da8f6265f841a6ca Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 16 Aug 2014 00:05:02 +0200 Subject: video: add --display-fps switch to control framedrop FPS Since the display FPS is currently detected on X11 only (and even there it's known to be wrong on certain setups), it seems like a good idea to make this user-configurable. --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 58e8d9dec4..aacb1b725a 100644 --- a/options/options.c +++ b/options/options.c @@ -462,6 +462,8 @@ const m_option_t mp_opts[] = { {"decoder", 2}, {"decoder+vo", 3})), + OPT_DOUBLE("display-fps", frame_drop_fps, M_OPT_MIN, .min = 0), + OPT_FLAG("audiodrop", insert_silence, 0), OPT_FLAG("untimed", untimed, M_OPT_FIXED), -- cgit v1.2.3