summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2022-12-15 18:09:03 +0200
committeravih <avih@users.noreply.github.com>2023-01-23 11:05:08 +0200
commit8eb7a00fa1f091e1766997f3d972d6c5fe9ac018 (patch)
treeac8596fb36128b0fb6f449403925ac54949d9004 /video/decode
parent17baa00e028367898c5a91127d71c3a3487b427a (diff)
downloadmpv-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/decode')
0 files changed, 0 insertions, 0 deletions