mpv/osdep
Andreas Klauer c365e2f7b1 misc/random: seed using libavutil/random_seed
When starting multiple processes of `mpv --shuffle` in parallel,
sometimes the random seed happens to be identical, so files are
played in the same random order.

mp_rand_seed(0) now uses a random seed provided by libavutil,
and only falls back to time in case of failure.
2024-09-28 14:11:56 +02:00
..
android various: fix tabs in code 2024-05-07 11:23:08 +02:00
mac various: handle numpad add/subtract/multiply/divide keycodes 2024-08-11 15:08:42 +02:00
win32 win32/smtc: add thumbnail support 2024-07-29 21:38:19 +02:00
compiler.h various: add more format specifiers checks 2024-06-25 05:29:46 +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
glob-win.c
io.c osdep/io: redefine off_t for Windows build 2024-09-04 03:51:56 +02:00
io.h osdep/io: redefine off_t for Windows build 2024-09-04 03:51:56 +02:00
language-mac.c
language-posix.c
language-win.c
main-fn-mac.c
main-fn-unix.c
main-fn-win.c osdep/main-fn-win: remove unnecessary compatibility defines 2024-09-24 00:21:19 +02:00
main-fn.h
mpv.exe.manifest
mpv.rc osdep/mpv.rc: fix encoding of MPVCOPYRIGHT 2024-05-06 22:01:17 +02:00
path-darwin.c
path-mac.m
path-unix.c
path-uwp.c
path-win.c osdep/path-win: fix leak of portable_path 2024-05-20 18:18:42 +02:00
path.h
poll_wrapper.c
poll_wrapper.h
semaphore-mac.c
semaphore.h osdep/semaphore: don't include files if they are not used 2024-05-06 22:01:17 +02:00
strnlen.h
subprocess-dummy.c
subprocess-posix.c
subprocess-win.c
subprocess.c player/{command,scripting}: log subprocess execution 2024-07-12 22:40:02 +02:00
subprocess.h player/{command,scripting}: log subprocess execution 2024-07-12 22:40:02 +02:00
terminal-dummy.c various: add more format specifiers checks 2024-06-25 05:29:46 +02:00
terminal-unix.c input: map Num 5 to distinct value when numlock is off 2024-06-13 20:42:24 +02:00
terminal-win.c osdep/terminal-win: remove unnecessary compatibility defines 2024-09-24 00:21:19 +02:00
terminal.h various: add more format specifiers checks 2024-06-25 05:29:46 +02:00
threads-posix.c
threads-posix.h player/core: add core thread handle to MPContext 2024-07-11 21:55:21 +02:00
threads-win32.h osdep/threads-win32: cast function type directly to avoid warnings 2024-07-29 21:38:19 +02:00
threads.h
timer-darwin.c mac/vulkan: add support for frame timing via presentation feedback 2024-04-10 19:14:20 +02:00
timer-linux.c
timer-win32.c osdep/timer-win32: remove unnecessary compatibility defines 2024-09-24 00:21:19 +02:00
timer.c misc/random: seed using libavutil/random_seed 2024-09-28 14:11:56 +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
utils-mac.h
w32_keyboard.c various: handle numpad add/subtract/multiply/divide keycodes 2024-08-11 15:08:42 +02:00
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c
windows_utils.h