diff options
author | Bradley Sepos <[email protected]> | 2018-06-08 16:33:23 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-06-08 16:34:52 -0400 |
commit | 6f139b1aed86379258c9232c24c268d3d0a5c406 (patch) | |
tree | e5c3449e23df77bc22450891a10ce83e2ef1d6b1 /libhb/common.c | |
parent | c3220c073d31c6dd0345f8ee37fe84806219975a (diff) |
libhb: test: Guard VCE encoders behind USE_VCE.
Fixes #1403.
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c index 9c1c42f32..a55244427 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -267,9 +267,13 @@ static int hb_video_encoder_is_enabled(int encoder) case HB_VCODEC_FFMPEG_MPEG2: case HB_VCODEC_FFMPEG_VP8: case HB_VCODEC_FFMPEG_VP9: + return 1; + +#ifdef USE_VCE case HB_VCODEC_FFMPEG_VCE_H264: case HB_VCODEC_FFMPEG_VCE_H265: return 1; +#endif #ifdef USE_X265 case HB_VCODEC_X265_8BIT: |