From e832f4969fa99883178b4e47808d18e9b5f7c2ff Mon Sep 17 00:00:00 2001 From: Andarwinux Date: Tue, 19 Dec 2023 00:00:00 +0000 Subject: [PATCH] win32: opt in to the windows segment heap ref: https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests#heaptype Improves demuxer cache recycling speed at the cost of a slight CPU usage increase. SegmentHeap is supported in Windows 10, version 2004 (build 19041) and later. --- osdep/mpv.exe.manifest | 1 + 1 file changed, 1 insertion(+) diff --git a/osdep/mpv.exe.manifest b/osdep/mpv.exe.manifest index 2ef5b0ed15..3cade40a38 100644 --- a/osdep/mpv.exe.manifest +++ b/osdep/mpv.exe.manifest @@ -13,6 +13,7 @@ PerMonitorV2,PerMonitor UTF-8 true + SegmentHeap