From 139e5e9477db955f6213be6017a5331a0c207b6d Mon Sep 17 00:00:00 2001 From: Mārtiņš Možeiko Date: Fri, 21 Jan 2022 08:00:48 +0300 Subject: support H264 decoding with MediaFoundation on Windows --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 404d558e..a3d4c071 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,8 +175,8 @@ option(ENABLE_H264 "Enable H.264 RFB encoding" ON) if(ENABLE_H264) if(WIN32) add_definitions("-DHAVE_H264") - set(H264_LIBS "NONE") # may be LIBAV in the future - message(WARNING "NO H264 LIBs are supported on Windows") + set(H264_LIBS "WIN") # may be LIBAV in the future + set(H264_LIBRARIES ole32 mfplat mfuuid wmcodecdspuuid) else() check_include_files(libavcodec/avcodec.h HAVE_AVCODEC_H) check_include_files(libavutil/avutil.h HAVE_AVUTIL_H) -- cgit v1.2.3