1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
mpv/player
wm4 ad2199128d path lookup functions: mp_msg conversions
There's a single mp_msg() in path.c, but all path lookup functions seem
to depend on it, so we get a rat-tail of stuff we have to change. This
is probably a good thing though, because we can have the path lookup
functions also access options, so we could allow overriding the default
config path, or ignore the MPV_HOME environment variable, and such
things.

Also take the chance to consistently add talloc_ctx parameters to the
path lookup functions.

Also, this change causes a big mess on configfiles.c. It's the same
issue: everything suddenly needs a (different) context argument. Make it
less wild by providing a mp_load_auto_profiles() function, which
isolates most of it to configfiles.c.
2013-12-21 21:43:17 +01:00
..
lua osc: use mp.send_commandv 2013-12-20 18:02:01 +01:00
timeline stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio.c audio: mp_msg conversions 2013-12-21 20:50:12 +01:00
command.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
command.h m_property: mp_msg conversions 2013-12-21 21:04:21 +01:00
configfiles.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
core.h path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
dvdnav.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
loadfile.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
lua.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
lua.h Rename mp_lua.c/h to lua.c/h 2013-12-17 01:15:48 +01:00
main.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
misc.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
osd.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
playloop.c player: use MSGL_SMODE for some slave-mode stuff 2013-12-21 20:50:11 +01:00
screenshot.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
screenshot.h
sub.c sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
video.c video/decode: mp_msg conversions 2013-12-21 20:50:10 +01:00