diff options
author | John Stebbins <[email protected]> | 2019-04-17 10:33:04 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-17 11:25:13 -0600 |
commit | 76e9755eb71c500ba6a69c97c959f118873e5389 (patch) | |
tree | fef14dcd242551161bc077009537037b44d43fd6 /libhb/hb.c | |
parent | b2cb27773a0cc1b84c847afec0b370e59236258d (diff) |
qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSV
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index ba40d9c37..9b3cea166 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -15,7 +15,7 @@ #include <unistd.h> #include <fcntl.h> -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV #include "qsv_common.h" #endif @@ -416,7 +416,7 @@ void hb_scan( hb_handle_t * h, const char * path, int title_index, } hb_log(" - logical processor count: %d", hb_get_cpu_count()); -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV if (!is_hardware_disabled()) { /* Print QSV info here so that it's in all scan and encode logs */ @@ -1661,7 +1661,7 @@ int hb_global_init() return -1; } -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV if (!disable_hardware) { result = hb_qsv_info_init(); @@ -1706,7 +1706,7 @@ int hb_global_init() #if HB_PROJECT_FEATURE_X265 hb_register(&hb_encx265); #endif -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV if (!disable_hardware) { hb_register(&hb_encqsv); |