0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/osdep
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
..
ar HIDRemote: remove OS X version checks 2013-09-17 20:44:54 +02:00
glob-win.c osdep:/glob-win.c: reformat 2012-08-03 01:31:32 +02:00
glob.h Reduce recursive config.h inclusions in headers 2013-12-18 17:12:21 +01:00
io.c Merge mp_talloc.h into ta/ta_talloc.h 2013-12-17 02:18:16 +01:00
io.h stream: move O_BINARY dummy definition 2013-12-18 17:12:16 +01:00
macosx_application_objc.h cocoa: fix race condition with input context creation 2013-10-24 00:07:05 +02:00
macosx_application.h cocoa: remove usage of mp_fifo 2013-07-03 22:25:45 +02:00
macosx_application.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
macosx_compat.h OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
macosx_events.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00
macosx_events.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
mpv.exe.manifest win32: edit resource files, in particular set CompanyName 2013-09-23 01:44:09 +02:00
mpv.rc Copyright, LICENSE: switch to GPL version 2 or later 2013-10-13 01:36:10 +02:00
numcores.c vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
numcores.h vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
path-macosx.m path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
path-win.c Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
path.h path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
priority.c osdep/priority: drop message output when setting priority 2013-12-21 20:50:11 +01:00
priority.h
terminal-unix.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
terminal-win.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
terminal.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
threads.c stream: split out pthread helper function 2013-11-17 16:42:57 +01:00
threads.h stream: split out pthread helper function 2013-11-17 16:42:57 +01:00
timer-darwin.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
timer-linux.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
timer-win2.c timer: use gettimeofday() on Windows 2013-05-26 16:44:20 +02:00
timer.c Replace calls to usec_sleep() 2013-05-26 16:44:20 +02:00
timer.h Replace calls to usec_sleep() 2013-05-26 16:44:20 +02:00