1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00
mpv/core/input
Stefano Pigozzi fab9febdc3 path: add mp_find_config_file and reorganize some of the code
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.
2012-12-15 17:38:00 +01:00
..
appleir.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
ar.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
ar.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
input.c path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
input.h command: add sub_reload and sub_remove commands 2012-11-16 21:21:15 +01:00
joystick.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
joystick.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
keycodes.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
lirc.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
lirc.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00