diff --git a/app/streaming/video/ffmpeg-renderers/dxva2.cpp b/app/streaming/video/ffmpeg-renderers/dxva2.cpp index 5dc5bb2e..8824dd80 100644 --- a/app/streaming/video/ffmpeg-renderers/dxva2.cpp +++ b/app/streaming/video/ffmpeg-renderers/dxva2.cpp @@ -1,3 +1,7 @@ +// minwindef.h defines min() and max() macros that conflict with +// std::numeric_limits, which Qt uses in some of its headers. +#define NOMINMAX + #include #include "dxva2.h" #include "../ffmpeg.h"