• David Gow's avatar
    quartz: Open files with FILE_SHARE_DELETE in FileSource. · 9cfd5d00
    David Gow authored
    Some games (such as Digimon Survive) create temporary video files and
    will hang if deleting them fails. Open the files with FILE_SHARE_DELETE,
    which will allow this deletion to go ahead even if the FileSource hasn't
    yet been closed.
    
    Note that many windows codec packs do themselves open files without
    FILE_SHARE_DELETE, so a similar hang can be observed in some windows
    configurations.
    
    I haven't checked that this is the file share mode used on windows
    (alas, I don't have a windows machine available), so I haven't removed
    the FIXME comment. Equally, I also updated the CreateFileW() call
    in get_media_type(), but that _may_ be unnecessary.
    Signed-off-by: 's avatarDavid Gow <david@ingeniumdigital.com>
    9cfd5d00
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...