summaryrefslogtreecommitdiffstats
path: root/libhb/h265_common.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-04-17 10:33:04 -0600
committerJohn Stebbins <[email protected]>2019-04-17 11:25:13 -0600
commit76e9755eb71c500ba6a69c97c959f118873e5389 (patch)
treefef14dcd242551161bc077009537037b44d43fd6 /libhb/h265_common.h
parentb2cb27773a0cc1b84c847afec0b370e59236258d (diff)
qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSV
Diffstat (limited to 'libhb/h265_common.h')
-rw-r--r--libhb/h265_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/h265_common.h b/libhb/h265_common.h
index 74d96031a..067b652e5 100644
--- a/libhb/h265_common.h
+++ b/libhb/h265_common.h
@@ -10,6 +10,8 @@
#ifndef HB_H265_COMMON_H
#define HB_H265_COMMON_H
+#include "project.h"
+
// inspired by libavcodec/hevc.h
// in HEVC, all "random access point" NAL units are keyframes
#define HB_HEVC_NALU_KEYFRAME(nal_unit_type) (((nal_unit_type) >= 16) && ((nal_unit_type) <= 23))
@@ -20,7 +22,7 @@ static const char * const hb_h265_profile_names_8bit[] = {
"auto", "main", "mainstillpicture", NULL, };
static const char * const hb_h265_profile_names_10bit[] = {
"auto", "main10", "main10-intra", NULL, };
-#ifdef USE_QSV
+#if HB_PROJECT_FEATURE_QSV
static const char * const hb_h265_qsv_profile_names_10bit[] = {
"auto", "main10", NULL, };
#endif