Mercurial > mplayer.hg
changeset 17924:0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
author | albeu |
---|---|
date | Wed, 22 Mar 2006 20:17:48 +0000 |
parents | ad7675dee42c |
children | caa86b1793fe |
files | DOCS/tech/slave.txt |
diffstat | 1 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/slave.txt Wed Mar 22 18:58:03 2006 +0000 +++ b/DOCS/tech/slave.txt Wed Mar 22 20:17:48 2006 +0000 @@ -80,6 +80,9 @@ get_percent_pos Print out the current position in the file, as integer percentage [0-100). +get_property <property> + Print out the current value of a property. + get_sub_visibility Print out subtitle visibility (1 == on, 0 == off). @@ -125,8 +128,9 @@ set_menu <menu_name> Display the menu named <menu_name>. -mute - Mute/unmute sound output. +mute [<value>] + Toggle sound output mutting or set it to <value> when <value> >= 0 + (1 == on, 0 == off). osd [<level>] Toggle OSD mode or set it to level when <level> >= 0. @@ -165,6 +169,9 @@ 1 is a seek to <value> % in the movie. 2 is a seek to an absolute position of <value> seconds. +set_property <property> <value> + Set a property. + speed_incr <value> Add <value> to the current playback speed. @@ -279,8 +286,8 @@ vo_rootwin Toggle playback on the root window. -volume <value> - Increase/decrease volume. +volume <value> [<abs>] + Increase/decrease volume or set it to <value> if <abs> is nonzero. The following commands are really only useful for OSD menu console mode: