https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/a979c0f43078cbfefa2ba614ee078579042d2de2 From a979c0f43078cbfefa2ba614ee078579042d2de2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 17 Jan 2023 11:58:04 +0100 Subject: [PATCH] keys: don't remove deprecated symbols by default Add a new macro to mark deprecated keys. The macro will emit a warning about the symbol being deprecated. PW_ENABLE_DEPRECATED will suppress the deprecation warning. Add PW_REMOVE_DEPRECATED to completely remove the deprecated symbols. Fixes #2952 --- a/src/pipewire/keys.h +++ b/src/pipewire/keys.h @@ -29,6 +29,7 @@ extern "C" { #endif +#include /** * \defgroup pw_keys Key Names * @@ -337,14 +338,14 @@ extern "C" { #define PW_KEY_VIDEO_FORMAT "video.format" /**< a video format */ #define PW_KEY_VIDEO_SIZE "video.size" /**< a video size as "x