mpv/common
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
..
av_common.c ffmpeg: update to handle deprecation of `av_init_packet` 2022-12-03 14:44:18 -08:00
av_common.h ffmpeg: update to handle deprecation of `av_init_packet` 2022-12-03 14:44:18 -08:00
av_log.c common/av_log: move general FFmpeg version before library versions 2022-11-15 21:41:22 +02:00
av_log.h
codecs.c
codecs.h
common.c
common.h player: add video-sync=display-tempo 2023-01-09 15:17:09 +00:00
encode.h
encode_lavc.c
encode_lavc.h
global.h
msg.c msg: log-file set at mpv.conf: don't ignore early messages 2023-01-23 11:05:08 +02:00
msg.h
msg_control.h
playlist.c
playlist.h
recorder.c ffmpeg: update to handle deprecation of `av_init_packet` 2022-12-03 14:44:18 -08:00
recorder.h
stats.c
stats.h
tags.c
tags.h
version.c