Fix DXVA2 renderer compilation with Qt 6.0

This commit is contained in:
Cameron Gutman 2020-11-21 11:12:40 -06:00
parent 201b59cd4c
commit 38b59aa1a9

View file

@ -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 <initguid.h> #include <initguid.h>
#include "dxva2.h" #include "dxva2.h"
#include "../ffmpeg.h" #include "../ffmpeg.h"