summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 9db9e7462..3476dbf7a 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -17,6 +17,7 @@
#include "lang.h"
#include "common.h"
#include "h264_common.h"
+#include "h265_common.h"
#ifdef USE_QSV
#include "qsv_common.h"
#endif
@@ -1210,10 +1211,9 @@ const char* const* hb_video_encoder_get_profiles(int encoder)
case HB_VCODEC_X264:
return hb_h264_profile_names;
-#ifdef USE_X265
case HB_VCODEC_X265:
- return x265_profile_names;
-#endif
+ return hb_h265_profile_names;
+
default:
return NULL;
}