mirror of https://github.com/Xaymar/obs-StreamFX
ffmpeg: Don't break on MacOS
While AMF is not really available on MacOS, we still shouldn't just fail to compile because of it. Might as well do the test and if it doesn't work out, then we still behave the same as before.
This commit is contained in:
parent
f31a87500c
commit
09329c1add
|
@ -135,7 +135,7 @@ bool streamfx::encoder::ffmpeg::amf::is_available()
|
|||
#else
|
||||
std::filesystem::path lib_name = std::filesystem::u8path("amfrt32.dll");
|
||||
#endif
|
||||
#elif defined(D_PLATFORM_LINUX)
|
||||
#else
|
||||
#if defined(D_PLATFORM_64BIT)
|
||||
std::filesystem::path lib_name = std::filesystem::u8path("libamfrt64.so.1");
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue