1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 10:51:51 +00:00
mpv/player
Avi Halachmi (:avih) 8eb7a00fa1 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.
2023-01-23 11:05:08 +02:00
..
javascript js: key bindings: ensure priorities for same-key - again 2022-06-23 17:16:33 +03:00
lua osc: don't spam window-controls bindings on every render 2022-11-29 16:40:36 +00:00
audio.c various: replace if + abort() with MP_HANDLE_OOM() 2023-01-12 22:02:07 +01:00
client.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
client.h
command.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
command.h
configfiles.c player: don't force saving start in watch-later-options 2023-01-09 16:37:14 +00:00
core.h player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
external_files.c external_files: recognize webp files as cover art 2022-12-29 15:48:57 +01:00
external_files.h
javascript.c
loadfile.c filters: lavfi: allow hwdec_interop selection for filters 2022-09-21 09:39:34 -07:00
lua.c
main.c msg: log-file set at mpv.conf: don't ignore early messages 2023-01-23 11:05:08 +02:00
misc.c player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
osd.c
playloop.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
screenshot.c
screenshot.h
scripting.c
sub.c
video.c player: add video-sync=display-tempo 2023-01-09 15:17:09 +00:00