mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
manpage: Correct show-text duration default value
duration is parsed as an integer, and the default value is used if ```-1``` is passed. Passing ```-``` as described here causes a parameter value error.
This commit is contained in:
parent
759a6a259e
commit
cfecbac863
@ -350,7 +350,7 @@ List of Input Commands
|
|||||||
Print text to stdout. The string can contain properties (see
|
Print text to stdout. The string can contain properties (see
|
||||||
`Property Expansion`_).
|
`Property Expansion`_).
|
||||||
|
|
||||||
``show-text "<string>" [<duration>|- [<level>]]``
|
``show-text "<string>" [<duration>|-1 [<level>]]``
|
||||||
Show text on the OSD. The string can contain properties, which are expanded
|
Show text on the OSD. The string can contain properties, which are expanded
|
||||||
as described in `Property Expansion`_. This can be used to show playback
|
as described in `Property Expansion`_. This can be used to show playback
|
||||||
time, filename, and so on.
|
time, filename, and so on.
|
||||||
|
Loading…
Reference in New Issue
Block a user