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/defaultopts.c | |
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/defaultopts.c')
-rw-r--r-- | core/defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/defaultopts.c b/core/defaultopts.c index 6c00af9a92..44ec8f1978 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -36,6 +36,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .WinID = -1, }, .wintitle = "mpv - ${media-title}", + .heartbeat_interval = 30.0, .gamma_gamma = 1000, .gamma_brightness = 1000, .gamma_contrast = 1000, |