Dudemanguy
0755edb327
misc/path_utils: allow passing NULL to mp_normalize_path
...
Instead of requiring the caller to pass an appropriate talloc_ctx,
mp_normalize_path will make its own internal allocations and cleanup as
needed.
2025-02-01 16:12:03 +00:00
Kacper Michajłow
7746942a55
win32: remove pathcch compatibility code
...
No longer needed after 9f8b4b38c9 .
2024-09-24 00:21:19 +02:00
Kacper Michajłow
5fed12e025
win32: add Media Control support
...
Add support for SystemMediaTransportControls interface. This allows to
control mpv from Windows media control ui.
2024-07-29 21:38:19 +02:00
Kacper Michajłow
18ef834ef4
various: move unistd.h inclusion to common.h
2024-05-06 22:01:17 +02:00
Kacper Michajłow
053d971507
misc/path_utils: normalize win32 paths
2024-05-05 19:37:57 +02:00
Guido Cella
1d640c9887
player: normalize paths for resuming playback
...
Paths like foo.mkv, ./foo.mkv .//foo.mkv, ../"$(basename
"$PWD")"/foo.mkv, and C:\foo.mkv and C:/foo.mkv on Windows, use
different config files for resuming playback, so if you quit-watch-later
and later play the same file with a different path, mpv does not resume
playback. This commit normalizes the paths on Unix to fix this.
2024-05-05 19:37:57 +02:00
nanahi
4e73602ae5
options/path: move path utility functions to misc/path_utils
...
These utility functions have nothing to do with user and config dir/file.
Move them to a separate file.
2024-02-23 21:35:57 +01:00