mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:49:40 +08:00
obs-ffmpeg: Fix VAAPI/NVENC ifdefs
VAAPI init was under NVENC clauses, so it was disabled if no NVENC.
That was introduced in af555b9372
from #10536, which refactored NVENC.
This commit is contained in:
committed by
Ryan Foster
parent
df137d9efe
commit
7c85253667
@@ -377,6 +377,7 @@ bool obs_module_load(void)
|
||||
obs_register_encoder(&hevc_nvenc_encoder_info);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
amf_load();
|
||||
@@ -415,7 +416,6 @@ bool obs_module_load(void)
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLE_FFMPEG_LOGGING
|
||||
obs_ffmpeg_load_logging();
|
||||
|
||||
Reference in New Issue
Block a user