diff options
author | sr55 <[email protected]> | 2018-06-08 23:14:02 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-06-08 23:14:02 +0100 |
commit | 291fc6bee201e86304ecaa761a169b94d6afb468 (patch) | |
tree | c6abe6f4b1e18559c609b341853e73c9cc9d2119 /libhb | |
parent | c2a7fba08f489844a1474c01be455ae1e9a03abb (diff) |
VCE: Add support for fetching levels for H.264 and H.265
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/common.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c index a55244427..bb5de65fb 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1499,6 +1499,18 @@ const char* const* hb_video_encoder_get_levels(int encoder) } #endif +#ifdef USE_VCE + if (encoder & HB_VCODEC_FFMPEG_VCE_H264) + { + return hb_h264_level_names; + } + + if (encoder & HB_VCODEC_FFMPEG_VCE_H265) + { + return hb_h265_level_names; + } +#endif + switch (encoder) { case HB_VCODEC_X264_8BIT: |