diff options
author | rcombs <rcombs@rcombs.me> | 2024-04-17 01:13:21 -0700 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-04-18 13:11:01 +0200 |
commit | d3a63e16d2a32f4abc39eee8bdbb76baf53dbc35 (patch) | |
tree | 3bcac91c43f1c214529f868ed55e1543b7eb47ee /DOCS/man/input.rst | |
parent | 2f8038c59885d5db875097566e9d8e033f108e0a (diff) | |
download | mpv-d3a63e16d2a32f4abc39eee8bdbb76baf53dbc35.tar.bz2 mpv-d3a63e16d2a32f4abc39eee8bdbb76baf53dbc35.tar.xz |
command: use property_time() for sub-start and sub-end
This gives these properties the "time" type, which allows them to be pretty-printed as HH:MM:SS easily (but also still allows raw formatting using e.g. ${=sub-start}).
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 0931ddb289..ae70585305 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2867,6 +2867,11 @@ Property list subtitles, returns the first start time. If no current subtitle is present null is returned instead. + This has a sub-property: + + ``sub-start/full`` + ``sub-start`` with milliseconds. + ``secondary-sub-start`` Same as ``sub-start``, but for the secondary subtitles. @@ -2876,6 +2881,11 @@ Property list if it's present but has unknown or incorrect duration, null is returned instead. + This has a sub-property: + + ``sub-end/full`` + ``sub-end`` with milliseconds. + ``secondary-sub-end`` Same as ``sub-end``, but for the secondary subtitles. |