Files
Velix-MPV-Core/common
wm4 e094499197 msg: use dynamic buffer for message formatting
Until now, a rather large stack buffer was used for this, and also a
static buffer in mp_log_root. The latter was added to buffer partial
lines, and the stack buffer was used only for MSGL_STATUS and MSGL_STATS
(I guess because these are the most likely/severe to clash with partial
line buffering).

Make the buffer in mp_log_root dynamically sized, so we don't get cut
off log lines if the text is excessively large. (The OpenGL extension
list dumped by vo_opengl is such an example.)

Since we still have to support partial line buffering (FFmpeg's log
callbacks leave no other choice), keep the stack buffer. But make it
smaller; there's no way all ~6KB are going to be needed in any
situation.
2016-03-01 21:51:59 +01:00
..
2016-03-01 21:46:57 +01:00
2016-03-01 21:46:57 +01:00
2016-02-05 23:17:33 +01:00
…
2016-02-10 21:29:36 +01:00
2015-04-13 12:10:01 +02:00
…
2015-04-13 12:10:01 +02:00