mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-26 14:41:14 +00:00
disable sw encoder
This commit is contained in:
parent
1b71ef8a24
commit
30da7e5dfd
@ -33,6 +33,8 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
// #define ALLOW_SW_ENCODER
|
||||
|
||||
using namespace std::literals;
|
||||
namespace video {
|
||||
|
||||
@ -924,15 +926,18 @@ namespace video {
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
&quicksync,
|
||||
&amdvce,
|
||||
&amdvce
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
&vaapi,
|
||||
&vaapi
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
&videotoolbox,
|
||||
&videotoolbox
|
||||
#endif
|
||||
|
||||
#ifdef ALLOW_SW_ENCODER
|
||||
,&software
|
||||
#endif
|
||||
&software
|
||||
};
|
||||
|
||||
static encoder_t *chosen_encoder;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user