diff options
author | John Stebbins <[email protected]> | 2019-04-17 10:39:01 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-17 11:25:13 -0600 |
commit | 4f78a721fd33fc828e61f9ce9462b7ba06eccbbb (patch) | |
tree | d4586ec46aab311a1aa3fc81d2c87183bb3e256a /libhb/common.c | |
parent | 76e9755eb71c500ba6a69c97c959f118873e5389 (diff) |
nvenc: use HB_PROJECT_FEATURE_NVENC instead of USE_NVENC
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.c b/libhb/common.c index 2b303b03d..8ddb594ee 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -31,7 +31,7 @@ #include <windows.h> #endif -#ifdef USE_NVENC +#if HB_PROJECT_FEATURE_NVENC #include "nvenc_common.h" #endif @@ -291,7 +291,7 @@ static int hb_video_encoder_is_enabled(int encoder, int disable_hardware) return hb_vce_h265_available(); #endif -#ifdef USE_NVENC +#if HB_PROJECT_FEATURE_NVENC case HB_VCODEC_FFMPEG_NVENC_H264: return hb_nvenc_h264_available(); case HB_VCODEC_FFMPEG_NVENC_H265: |