diff options
author | sr55 <[email protected]> | 2018-07-07 12:19:02 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-07-07 12:19:02 +0100 |
commit | 29e80bc54f423afefd45881e5e11a45bc002af6c (patch) | |
tree | 9f367d3e210ce62957c61d67f53391b38611efc6 /libhb/common.c | |
parent | 66428ef45042cb19020010e07d2465f9d69e6f06 (diff) |
VCE: Implement missing compile time availability flag. This should stop it showing up when it's not compiled in.
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c index 5d3a430b6..d10811ecd 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -35,6 +35,10 @@ #include "nvenc_common.h" #endif +#ifdef USE_VCE +#include "vce_common.h" +#endif + static int mixdown_get_opus_coupled_stream_count(int mixdown); /********************************************************************** @@ -277,8 +281,9 @@ static int hb_video_encoder_is_enabled(int encoder) #ifdef USE_VCE case HB_VCODEC_FFMPEG_VCE_H264: + return hb_vce_h264_available(); case HB_VCODEC_FFMPEG_VCE_H265: - return 1; + return hb_vce_h265_available(); #endif #ifdef USE_NVENC |