mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-27 05:43:01 +00:00
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
915c85e60e
commit
df70723884
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue