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:
Lluís Batlle i Rossell
2024-08-16 13:25:07 -04:00
committed by Ryan Foster
parent df137d9efe
commit 7c85253667
+1 -1
View File
@@ -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();