mpv/osdep
Guido Cella d49879f1f7 loadfile: improve the format of terminal track information
Print vlang if present.

Make unselected tracks and editions grey instead of adding (+) before
selected tracks. Mark them with the same circles as show-text
${track-list} and script-message osc-tracklist when not outputting to a
TTY.

Don't print a different symbol with --sub-forced-events-only because
nobody uses this option, and subtitles are very unlikely to mix forced
and non-forced events.

Align 2-digit track IDs.

Align languages of up to 7 characters (the length of zh-Hans).

Leave spaces when a track has no language but at least another track
does to align the following track data with the other tracks.

Add a space between values and their units.

Convert Hz to kHz.

Pretty print FPS and kHz with mp_format_double().

Don't print images' FPS because it's just a bogus value taken from
--mf-fps.

Co-authored-by: Kacper Michajłow <kasper93@gmail.com>
2024-06-07 22:24:25 +02:00
..
android various: fix tabs in code 2024-05-07 11:23:08 +02:00
mac cocoa-cb: add support for macOS color space transformation (EDR/HDR) 2024-05-05 19:02:50 +02:00
compiler.h osdep/compiler: clang also recognizes those attributes 2024-05-06 22:01:17 +02:00
dirent-win.h osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
endian.h osdep/endian: add missing byte order defines 2024-06-05 19:07:58 +02:00
getpid.h lua+js: Implement utils.getpid() 2018-02-13 20:16:01 -08:00
glob-win.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
io.c osdep/io: fix leak of environment strings on win32 2024-05-20 18:18:42 +02:00
io.h win32: fix platform checks 2024-05-06 22:01:17 +02:00
language-mac.c osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
language-posix.c language-posix: as a fallback, treat "C" as "en" 2023-07-25 11:34:06 +02:00
language-win.c osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
main-fn-mac.c mac/app: cleanup and optimise App launch and termination 2024-04-01 22:13:39 +02:00
main-fn-unix.c build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
main-fn-win.c win32: add WinMain 2024-05-06 22:01:17 +02:00
main-fn.h build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
mpv.exe.manifest win32: opt in to the windows segment heap 2023-12-22 16:36:31 +01:00
mpv.rc osdep/mpv.rc: fix encoding of MPVCOPYRIGHT 2024-05-06 22:01:17 +02:00
path-darwin.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
path-mac.m osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
path-unix.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
path-uwp.c various: use correct PATH_MAX for win32 2023-12-27 22:55:56 +01:00
path-win.c osdep/path-win: fix leak of portable_path 2024-05-20 18:18:42 +02:00
path.h osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
poll_wrapper.c vo: don't sleep 1ms always when requested time is in the past 2023-11-09 21:31:58 +00:00
poll_wrapper.h vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
semaphore-mac.c osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
semaphore.h osdep/semaphore: don't include files if they are not used 2024-05-06 22:01:17 +02:00
strnlen.h osdep: make use of HAVE_ANDROID 2018-08-20 17:16:22 +02:00
subprocess-dummy.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess-posix.c osdep: fix infinite loop when cancelling subprocess 2024-02-11 14:13:22 +01:00
subprocess-win.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
subprocess.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
subprocess.h command: extend subprocess command stdin, change behavior 2020-08-16 02:54:44 +02:00
terminal-dummy.c win32: change fputs to fwrite wrapper 2024-04-07 20:23:04 +02:00
terminal-unix.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
terminal-win.c terminal-win: use proper NTAPI callback for FLS 2024-06-06 21:42:12 +02:00
terminal.h loadfile: improve the format of terminal track information 2024-06-07 22:24:25 +02:00
threads-posix.c threads: remove unused code 2023-11-05 17:36:17 +00:00
threads-posix.h osdep/threads: fix warning: initializer element is not constant 2024-03-19 08:58:18 +01:00
threads-win32.h win32: increase hires timer resolution 2024-03-19 20:23:25 +01:00
threads.h threads: unbreak mpv on builds without asserts 2023-11-06 04:14:49 +00:00
timer-darwin.c mac/vulkan: add support for frame timing via presentation feedback 2024-04-10 19:14:20 +02:00
timer-linux.c osdep/timer-linux: check clock availability on init 2023-11-08 04:32:10 +00:00
timer-win32.c various: remove unused sys/time.h include 2024-05-06 22:01:17 +02:00
timer.c various: remove unused sys/time.h include 2024-05-06 22:01:17 +02:00
timer.h mac/vulkan: add support for frame timing via presentation feedback 2024-04-10 19:14:20 +02:00
utils-mac.c osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
utils-mac.h osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
w32_keyboard.c win32: properly handle WM_XBUTTONUP and WM_XBUTTONDOWN 2023-12-06 11:07:37 +01:00
w32_keyboard.h w32_common: handle media keys 2017-08-05 02:38:44 +10:00
win32-console-wrapper.c win32-console-wrapper: fix printf specifiers 2024-03-19 19:56:25 +01:00
windows_utils.c win32: implement shell link target resolving 2024-03-19 11:34:00 +01:00
windows_utils.h win32: implement shell link target resolving 2024-03-19 11:34:00 +01:00