mirror of https://github.com/mpv-player/mpv
fab9febdc3
Add `mp_find_config_file` to search different known paths and use that in ass_mp to look for the fontconfig configuration file. Some incidental changes spawned by this feature where: * Buffer allocation for the strings containing the paths is now performed with talloc. All of the allocations are done on a NULL context, but it still improves readability of the code. * Move the OSX function for lookup inside of a bundle: this code path was currently not used by the bundle generated with `make osxbundle`. The plan is to use it again in a future commit to get a fontconfig config file. |
||
---|---|---|
.. | ||
cocoa_events.h | ||
cocoa_events.m | ||
getch2-win.c | ||
getch2.c | ||
getch2.h | ||
gettimeofday.c | ||
glob-win.c | ||
glob.h | ||
io.c | ||
io.h | ||
macosx_bundle.h | ||
macosx_bundle.m | ||
macosx_finder_args.h | ||
macosx_finder_args.m | ||
mmap.h | ||
mmap_anon.c | ||
mmap_anon.h | ||
mpv.exe.manifest | ||
mpv.rc | ||
numcores.c | ||
numcores.h | ||
priority.c | ||
priority.h | ||
setenv.c | ||
shmem.c | ||
shmem.h | ||
strsep.c | ||
strsep.h | ||
timer-darwin.c | ||
timer-linux.c | ||
timer-win2.c | ||
timer.h | ||
vsscanf.c |