diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-07 12:30:15 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-07 12:30:15 +0000 |
commit | c3d4f52d7c23a49d04023f4262c2d773583e1cc7 (patch) | |
tree | 64178512fe1ddbddac8523d51bab64ec9b3dbc1f /DOCS | |
parent | 91ba3d653156512703ed428b028cfbb09d9ec806 (diff) | |
download | mpv-c3d4f52d7c23a49d04023f4262c2d773583e1cc7.tar.bz2 mpv-c3d4f52d7c23a49d04023f4262c2d773583e1cc7.tar.xz |
Add heartbeat-cmd option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25639 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 580ce3ac14..2ae23ef8c9 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -836,6 +836,24 @@ More intense frame dropping (breaks decoding). Leads to image distortion! . .TP +.B \-heartbeat-cmd +Command that is executed every 30 seconds during playback via system() - +i.e. using the shell. +.sp 1 +.I NOTE: +MPlayer uses this command without any checking, it is your responsibility +to ensure it does not cause security problems (e.g. make sure to use full +paths if "." is in your path like on Windows). +.sp 1 +This can be "misused" to disable screensavers that do not support the proper +X API for this. +.sp 1 +.I EXAMPLE for gnome screensaver: +mplayer \-heartbeat-cmd "gnome-screensaver-command -p" file +.RE +.PD 1 +. +.TP .B \-identify Shorthand for \-msglevel identify=4. Show file parameters in an easily parseable format. |