mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
build: add freebsd support (#4049)
This commit is contained in:
+2
-2
@@ -897,7 +897,7 @@ namespace video {
|
||||
H264_ONLY | PARALLEL_ENCODING | ALWAYS_REPROBE | YUV444_SUPPORT
|
||||
};
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(linux) || defined(__linux) || defined(__FreeBSD__)
|
||||
encoder_t vaapi {
|
||||
"vaapi"sv,
|
||||
std::make_unique<encoder_platform_formats_avcodec>(
|
||||
@@ -1032,7 +1032,7 @@ namespace video {
|
||||
&quicksync,
|
||||
&amdvce,
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(linux) || defined(__linux) || defined(__FreeBSD__)
|
||||
&vaapi,
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
|
||||
Reference in New Issue
Block a user