wine/dlls/quartz
David Gow 9cfd5d00ca quartz: Open files with FILE_SHARE_DELETE in FileSource.
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: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:08 +02:00
..
tests quartz/tests: Add tests for MPEG audio decoder quality control. 2022-05-24 21:22:03 +02:00
acmwrapper.c
avidec.c
control_tlb.idl
dsoundrender.c
filesource.c quartz: Open files with FILE_SHARE_DELETE in FileSource. 2022-08-10 11:35:08 +02:00
filtergraph.c
filtermapper.c
main.c
Makefile.in
memallocator.c
passthrough.c
quartz.rc
quartz.rgs
quartz.spec
quartz_private.h
quartz_strmif.idl
regsvr.c
systemclock.c
videorenderer.c
vmr9.c
window.c