mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 06:14:32 +00:00
257a2b9646
Directory-opening never worked on Windows because MSVCRT's open() doesn't open directories and its fstat() doesn't recognise directory handles. These are just MSVCRT restrictions, and the Windows API itself has no problem with opening directories as file objects, so reimplement mpv's mp_open and mp_stat to use the Windows API directly. This should fix directory playback. This also populates the st_dev and st_ino fields of struct stat, so filesystem loop checking in demux_playlist.c should now work on Windows. Fixes #4711 |
||
---|---|---|
.. | ||
checks | ||
detections | ||
fragments | ||
generators | ||
__init__.py | ||
clang_compilation_database.py | ||
dependencies.py | ||
deps_parser.py | ||
features.py | ||
inflector.py | ||
syms.py | ||
waf_customizations.py |