summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-04 14:24:42 +0200
committerwm4 <wm4@nowhere>2013-04-04 14:24:42 +0200
commitccc213fdac9783b9e450342cf5a346508e961e2f (patch)
treeb98a96a0c6514e48b0322eaf3552f8503d331f16 /core/options.h
parente1d57504b3e48099f447842713e60f0eef0e04db (diff)
downloadmpv-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/options.h')
-rw-r--r--core/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/options.h b/core/options.h
index 999f3439e9..0f1df17ba5 100644
--- a/core/options.h
+++ b/core/options.h
@@ -109,6 +109,7 @@ typedef struct MPOpts {
char *status_msg;
char *osd_status_msg;
char *heartbeat_cmd;
+ float heartbeat_interval;
int player_idle_mode;
int slave_mode;
int consolecontrols;