diff options
author | wm4 <wm4@nowhere> | 2013-03-25 23:44:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-26 01:29:53 +0100 |
commit | 790df511c4aad28c64998783b5b599e88177356e (patch) | |
tree | 1e0ad36033de405ea2641f79d5744fc68f3771c1 /DOCS | |
parent | 54e8e0a50207283d1cbe595e69e5cd10c346ed40 (diff) | |
download | mpv-790df511c4aad28c64998783b5b599e88177356e.tar.bz2 mpv-790df511c4aad28c64998783b5b599e88177356e.tar.xz |
core: output --playing-msg message only after at least one frame is shown
This way it's possible to retrieve correct information about video, like
actual width/height, which in general are available only after at least
one frame has been sent to the video output, such as dwidth/dheight.
mpv_identify.sh becomes a bit slower, because we let it decode enough
audio and video to fill the audio buffers and to send one frame to the
video output. Also, --playing-msg isn't shown anymore with --frames=0
(could be fixed by special-casing it, should this break any use cases).
Note that in some corner cases, like when the demuxer for some reason
returns lots of audio packets but no video packets at the start, but
video actually starts later, the --playing-msg will still be output
before video starts.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/en/options.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 6651e97a67..91078b2424 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -1455,7 +1455,7 @@ *WARNING*: works with the deprecated ``mp_http://`` protocol only. --playing-msg=<string> - Print out a string before starting playback. The string is expanded for + Print out a string after starting playback. The string is expanded for properties, e.g. ``--playing-msg=file: ${filename}`` will print the string ``file:`` followed by a space and the currently played filename. |