diff options
author | wm4 <wm4@nowhere> | 2013-04-04 14:24:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-04 14:24:42 +0200 |
commit | ccc213fdac9783b9e450342cf5a346508e961e2f (patch) | |
tree | b98a96a0c6514e48b0322eaf3552f8503d331f16 /core/cfg-mplayer.h | |
parent | e1d57504b3e48099f447842713e60f0eef0e04db (diff) | |
download | mpv-ccc213fdac9783b9e450342cf5a346508e961e2f.tar.bz2 mpv-ccc213fdac9783b9e450342cf5a346508e961e2f.tar.xz |
core: add --heartbeat-interval option
This closely follows MPlayer commit 36099, with some changes.
Move a mutable static variable into MPContext.
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 5bae70ab0e..17f39822fe 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -598,6 +598,7 @@ const m_option_t mplayer_opts[]={ OPT_STRINGLIST("fstype", vo.fstype_list, 0), #endif OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), + OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), OPT_FLAG("mouseinput", vo.nomouse_input, 0), OPT_CHOICE_OR_INT("screen", vo.screen_id, 0, 0, 32, |