Aleksoid1978 / VideoRenderer

Внешний видео-рендерер
GNU General Public License v3.0
1.11k stars 122 forks source link

Fix display switching #178

Closed ACertainCoder closed 3 months ago

ACertainCoder commented 3 months ago

This pull request fixes the issue https://github.com/Aleksoid1978/VideoRenderer/issues/176. Previously, both "HDR toggle" and "Exclusive fullscreen" had to be enabled in order for MPCVR to properly detect a display change during a fullscreen transition. This caused issues if the initial display is in SDR mode while the fullscreen display is in HDR mode and vice versa. Additionally I added some basic configuration for Visual Studio Code to to enable the user to perform build tasks with one click.

Please correct me if my changes may have unwanted side effects that I might not be able to foresee, as I don't have the bigger picture.