#include "modules/desktop_capture/linux/wayland/screencast_stream_utils.h"
#include <libdrm/drm_fourcc.h>
#include <pipewire/pipewire.h>
#include <spa/param/video/format-utils.h>
#include <string>
#include "rtc_base/string_to_number.h"
#if !PW_CHECK_VERSION(0, 3, 29)
#define SPA_POD_PROP_FLAG_MANDATORY …
#endif
#if !PW_CHECK_VERSION(0, 3, 33)
#define SPA_POD_PROP_FLAG_DONT_FIXATE …
#endif
namespace webrtc {
PipeWireVersion PipeWireVersion::Parse(const absl::string_view& version) { … }
bool PipeWireVersion::operator>=(const PipeWireVersion& other) { … }
bool PipeWireVersion::operator<=(const PipeWireVersion& other) { … }
spa_pod* BuildFormat(spa_pod_builder* builder,
uint32_t format,
const std::vector<uint64_t>& modifiers,
const struct spa_rectangle* resolution,
const struct spa_fraction* frame_rate) { … }
}