[MPlayer-DOCS] r25639 - in trunk: DOCS/man/en/mplayer.1 cfg-mplayer.h mplayer.c

reimar subversion at mplayerhq.hu
Mon Jan 7 13:30:15 CET 2008


Author: reimar
Date: Mon Jan  7 13:30:15 2008
New Revision: 25639

Log:
Add heartbeat-cmd option


Modified:
   trunk/DOCS/man/en/mplayer.1

Changes in other areas also in this revision:
Modified:
   trunk/cfg-mplayer.h
   trunk/mplayer.c

Modified: trunk/DOCS/man/en/mplayer.1
==============================================================================
--- trunk/DOCS/man/en/mplayer.1	(original)
+++ trunk/DOCS/man/en/mplayer.1	Mon Jan  7 13:30:15 2008
@@ -836,6 +836,24 @@ More intense frame dropping (breaks deco
 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.



More information about the MPlayer-DOCS mailing list