diff --git a/sunshine/platform/windows/input.cpp b/sunshine/platform/windows/input.cpp index d7667694..0d34ad1e 100755 --- a/sunshine/platform/windows/input.cpp +++ b/sunshine/platform/windows/input.cpp @@ -2,11 +2,14 @@ #include #include +// prevent clang format from "optimizing" the header include order +// clang-format off +#include #include #include -#include #include #include +// clang-format on #include diff --git a/sunshine/video.cpp b/sunshine/video.cpp index 1069d0e6..fd077eea 100644 --- a/sunshine/video.cpp +++ b/sunshine/video.cpp @@ -315,6 +315,7 @@ static encoder_t software { // It also looks like gop_size isn't passed on to x265, so we have to set // 'keyint=-1' in the parameters ourselves. { + { "forced-idr"s, 1 }, { "x265-params"s, "info=0:keyint=-1"s }, { "preset"s, &config::video.sw.preset }, { "tune"s, &config::video.sw.tune } },