mpv/player
Kacper Michajłow 08e2acbae1 stats.lua: don't use io.write from builtin script
Scripts and especially internal scripts shouln't bypass msg.c logging
code for various resons, ranging from processing the input, filtering
the log levels, truncating the output and so on. io.write() is lazy way
of outputing to stdout without respecting mpv's logging module.

Uses osd message, because this has no prefixes. Added internal
flush-status-line command to flush current output without clearing
before exiting.

This commit will allow us to remove duplicated terminal handling code
from stats.lua, mpv core already handles all that and does it in better
way, without taking shortcuts.
2024-10-17 22:32:10 +02:00
..
javascript input.lua,defaults.js: don't hardcode mp.input arguments 2024-10-04 21:13:29 +03:00
lua stats.lua: don't use io.write from builtin script 2024-10-17 22:32:10 +02:00
audio.c audio: add pitch-shifting feature 2024-08-07 22:56:17 +02:00
client.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c stats.lua: don't use io.write from builtin script 2024-10-17 22:32:10 +02:00
command.h options: add --input-commands option 2024-03-21 14:48:53 +00:00
configfiles.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
core.h player: make redraw_sub flag work on a per track basis 2024-10-16 02:26:06 +00:00
external_files.c player/external_files: fix null deref when cover-art-whitelist is empty 2024-09-29 22:56:40 +02:00
external_files.h misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
javascript.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
loadfile.c player: move a redraw_subs edgecase to loadfile 2024-10-16 02:26:06 +00:00
lua.c lua: remove unused #define mp_lua_len 2024-09-26 16:45:08 +02:00
main.c misc/random: seed using libavutil/random_seed 2024-09-28 14:11:56 +02:00
misc.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
osd.c various: use talloc_replace 2024-09-08 17:33:27 +02:00
playloop.c player: move a redraw_subs edgecase to loadfile 2024-10-16 02:26:06 +00:00
screenshot.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c player/scripting: remove outdated comment about posix_spawn 2024-07-29 21:00:48 +02:00
sub.c player: make redraw_sub flag work on a per track basis 2024-10-16 02:26:06 +00:00
video.c player/audio: invert audio_started boolean 2024-08-01 11:45:13 +00:00