From 4f78a721fd33fc828e61f9ce9462b7ba06eccbbb Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 17 Apr 2019 10:39:01 -0600 Subject: nvenc: use HB_PROJECT_FEATURE_NVENC instead of USE_NVENC --- libhb/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/common.c') 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 #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: -- cgit v1.2.3