diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2022-12-15 18:09:03 +0200 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2023-01-23 11:05:08 +0200 |
commit | 8eb7a00fa1f091e1766997f3d972d6c5fe9ac018 (patch) | |
tree | ac8596fb36128b0fb6f449403925ac54949d9004 /video/out/opengl | |
parent | 17baa00e028367898c5a91127d71c3a3487b427a (diff) | |
download | mpv-8eb7a00fa1f091e1766997f3d972d6c5fe9ac018.tar.bz2 mpv-8eb7a00fa1f091e1766997f3d972d6c5fe9ac018.tar.xz |
msg: log-file set at mpv.conf: don't ignore early messages
Previously, if log-file was set not via a CLI option (e.g. set via
mpv.conf or other config file, or set from a script init phase),
then meaningful early log messages were thrown away because the log
file name was unknown initially.
Such early log messages include the command line arguments, any
options set from mpv.conf, and possibly more.
Now we store up to 5000 early messages before the log file name is
known, and flush them once/if it becomes known, or destroy this
buffer once mpv init is complete.
The implementation is similar and adjacent, but not identical, to an
existing early log system for mpv clients which request a log buffer.
Diffstat (limited to 'video/out/opengl')
0 files changed, 0 insertions, 0 deletions