From 57d85db44cba2314f446bd2d1a9dfc0194908060 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:13:30 -0400 Subject: [PATCH] docs(doxygen): fix docs build --- docs/Doxyfile | 1 + src/config.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Doxyfile b/docs/Doxyfile index 82e45c4e898..6526b8bf3cb 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -32,6 +32,7 @@ PROJECT_NAME = Sunshine # project specific settings DOT_GRAPH_MAX_NODES = 60 IMAGE_PATH = ../docs/images +INCLUDE_PATH = ../third-party/build-deps/ffmpeg/Linux-x86_64/include/ PREDEFINED += SUNSHINE_BUILD_WAYLAND PREDEFINED += SUNSHINE_TRAY=1 diff --git a/src/config.cpp b/src/config.cpp index b42eb097a5d..aa6f862cf51 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -59,7 +59,7 @@ namespace config { } // namespace nv namespace amd { -#ifndef _WIN32 +#if !defined(_WIN32) || !defined(DOXYGEN) // values accurate as of 27/12/2022, but aren't strictly necessary for MacOS build #define AMF_VIDEO_ENCODER_AV1_QUALITY_PRESET_SPEED 100 #define AMF_VIDEO_ENCODER_AV1_QUALITY_PRESET_QUALITY 30