diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2014-09-05 01:36:15 +1000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-05 17:51:44 +0200 |
commit | 5c3f3fd3dab3e399c473790f55272c5d6aec2764 (patch) | |
tree | 0b3cd4e30dd66ca3347c5c52682bfa2eee36f2ef /DOCS | |
parent | 15a882d2ed7e9eee5c2b1166189698291e76b19b (diff) | |
download | mpv-5c3f3fd3dab3e399c473790f55272c5d6aec2764.tar.bz2 mpv-5c3f3fd3dab3e399c473790f55272c5d6aec2764.tar.xz |
win32: add tmpfile() replacement
The Windows version of tmpfile is actually pretty broken. It tries to
create the file in the root directory of the current drive, which means
on Vista and up, it normally fails due to insufficient permissions.
Replace it with a version that uses GetTempPath.
Also remove the Windows-specific note about automatic deletion of the
cache file. FILE_FLAG_DELETE_ON_CLOSE is available in NT, and it should
be pretty reliable.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/options.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 901dc74889..73378d5ad3 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1650,7 +1650,7 @@ Window .. note:: This does not affect the normal screensaver operation in any way. - + ``--no-keepaspect``, ``--keepaspect`` ``--no-keepaspect`` will always stretch the video to window size, and will disable the window manager hints that force the window aspect ratio. @@ -2819,8 +2819,7 @@ Cache Instead, an invisible temporary file is created. It depends on your C library where this file is created (usually ``/tmp/``), and whether filename is visible (the ``tmpfile()`` function is used). On some - systems, automatic deletion of the cache file might not be guaranteed - (like on MS Windows). + systems, automatic deletion of the cache file might not be guaranteed. If you want to use a file cache, this mode is recommended, because it doesn't break ordered chapters or ``--audio-file``. These modes open |