Sunshine/sunshine
Conn O'Griofa 2d969c2ccc platform/windows: change dwmflush default, add autodetection
On each re/init, query the active monitor refresh rate via
DwmGetCompositionTimingInfo. If the client requested framerate exceeds
the host monitor refresh, automatically disable DwmFlush.

This avoids the problem by which DwmFlush would constrain the client
FPS if the host monitor runs at a lower refresh rate, thus allowing
the feature to be enabled by default.

If there are other issues caused by DwmFlush for certain systems,
it can still be disabled via configuration.
2022-06-15 22:23:09 +01:00
..
platform platform/windows: change dwmflush default, add autodetection 2022-06-15 22:23:09 +01:00
audio.cpp Fix formatting 2022-04-29 11:22:35 -05:00
audio.h
cbs.cpp
cbs.h
config.cpp platform/windows: change dwmflush default, add autodetection 2022-06-15 22:23:09 +01:00
config.h platform/windows: add optional DwmFlush() call to improve Windows capture 2022-06-15 22:23:09 +01:00
confighttp.cpp clang lint 2022-02-16 18:23:56 -05:00
confighttp.h
crypto.cpp
crypto.h
httpcommon.cpp clang lint 2022-02-16 18:23:56 -05:00
httpcommon.h
input.cpp Initial support for MacOS 2022-02-26 10:18:00 +01:00
input.h
main.cpp Revert removing name argument from print_help function 2022-04-29 12:52:09 -04:00
main.h Revert removing name argument from print_help function 2022-04-29 12:52:09 -04:00
move_by_copy.h
network.cpp
network.h
nvhttp.cpp clang lint 2022-02-16 18:23:56 -05:00
nvhttp.h
process.cpp clang lint 2022-02-16 18:23:56 -05:00
process.h reviews changes 2022-01-24 21:33:26 +01:00
round_robin.h
rtsp.cpp Initial support for MacOS 2022-02-26 10:18:00 +01:00
rtsp.h
stream.cpp Changed the video packet to contain AVPacket instead of extending it. 2022-04-12 16:13:05 -05:00
stream.h
sync.h
task_pool.h
thread_pool.h
thread_safe.h
upnp.cpp
upnp.h
utility.h clang lint 2022-02-16 18:23:56 -05:00
uuid.h
video.cpp Changed the video packet to contain AVPacket instead of extending it. 2022-04-12 16:13:05 -05:00
video.h Changed the video packet to contain AVPacket instead of extending it. 2022-04-12 16:13:05 -05:00