Skip to content

Commit

Permalink
obs-ffmpeg: Fix VAAPI/NVENC ifdefs
Browse files Browse the repository at this point in the history
VAAPI init was under NVENC clauses, so it was disabled if no NVENC.

That was introduced in af555b9
from #10536, which refactored NVENC.
  • Loading branch information
viric authored and RytoEX committed Aug 16, 2024
1 parent df137d9 commit 7c85253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/obs-ffmpeg/obs-ffmpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ bool obs_module_load(void)
obs_register_encoder(&hevc_nvenc_encoder_info);
#endif
}
#endif

#ifdef _WIN32
amf_load();
Expand Down Expand Up @@ -415,7 +416,6 @@ bool obs_module_load(void)
}
#endif
#endif
#endif

#if ENABLE_FFMPEG_LOGGING
obs_ffmpeg_load_logging();
Expand Down

0 comments on commit 7c85253

Please sign in to comment.