summaryrefslogtreecommitdiffstats
path: root/osdep/path-darwin.c
Commit message (Collapse)AuthorAgeFilesLines
* ALL: use new mp_thread abstractionKacper Michajłow2023-11-051-3/+3
|
* path-{darwin,unix}: save cache to subdir when using non-XDG pathDudemanguy2023-09-071-2/+6
| | | | | | | | | | mpv saves cache by default nowadays, but vo_gpu is pretty spammy and saves a bunch of files per shader. If someone is using the non-XDG config directory, this all gets dumped directly into ~/.mpv which isn't so nice. Save it to a sub directory called "cache" instead (or alternatively submit to your XDG overlords). For unfortunate reasons, macOS uses XDG_CONFIG_HOME and has the same legacy fallback mechanism, so this applies to it too.
* player: set default cache dir on macOSm154k12023-07-151-3/+10
| | | | Use ~/Library/Caches/io.mpv for caches instead of ~~home.
* osdep: separate out macos paths from path-unix.cDudemanguy2023-05-091-0/+66
macOS really has completely different path conventions that mpv doesn't take into account and it treats it just like any other old unix-like system. This means mpv enforces certain conventions on it (like all the XDG stuff) that doesn't really apply. Since we'd like to use more of this but at the same time not distrupt mac users even more, let's just copy and paste the current code to a new file, update the build and call it a day. This way, the paths of these two platforms can more freely diverge.