summaryrefslogtreecommitdiffstats
path: root/video/out/win32/displayconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* ALL: use new mp_thread abstractionKacper Michajłow2023-11-051-1/+0
|
* win32: don't load dynamically always available functionsKacper Michajłow2023-09-011-46/+5
| | | | They are all available on Windows 7 and newer.
* win32/displayconfig: remove custom struct redefinitionKacper Michajłow2023-09-011-60/+0
| | | | | Those structs in MinGW-w64 are correct. I compared to Windows SDK and actually our version have not correct alignment.
* displayconfig: treat a refresh rate of 1 as invalidJames Ross-Gowan2016-09-181-2/+8
| | | | Found in Windows 8.1/VirtualBox.
* mpv_talloc.h: rename from talloc.hDmitrij D. Czarkoff2016-01-111-1/+1
| | | | This change helps avoiding conflict with talloc.h from libtalloc.
* w32: use DisplayConfig API to retrieve correct monitor refresh rateJames Ross-Gowan2015-11-061-0/+236
This is based on an older patch by James Ross-Gowan. It was rebased and cleaned up. Also, the DWM API usage present in the older patch was removed, because DWM reports nonsense rates at least on Windows 8.1 (they are rounded to integers, just like with the old GDI API - except the GDI API had a good excuse, as it could report only integers). Signed-off-by: wm4 <wm4@nowhere>