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 /DOCS/man/en/options.rst | |
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 'DOCS/man/en/options.rst')
-rw-r--r-- | DOCS/man/en/options.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index d64cbe8f80..cc55c3a40e 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -786,7 +786,8 @@ --heartbeat-cmd Command that is executed every 30 seconds during playback via *system()* - - i.e. using the shell. + i.e. using the shell. The time between the commands can be customized with + the ``--heartbeat-interval`` option. *NOTE*: mpv uses this command without any checking. It is your responsibility to ensure it does not cause security problems (e.g. make @@ -805,6 +806,9 @@ *EXAMPLE for GNOME screensaver*: ``mpv --heartbeat-cmd="gnome-screensaver-command -p" file`` +--heartbeat-interval=<sec> + Time between ``--heartbeat-cmd`` invocations in seconds (default: 30). + --help Show short summary of options. |