summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libhb/common.c b/libhb/common.c
index ee3eba208..a6ee2c424 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -238,8 +238,8 @@ hb_encoder_internal_t hb_video_encoders[] =
{ { "H.264 (x264)", "x264", "H.264 (libx264)", HB_VCODEC_X264_8BIT, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_H264, },
{ { "H.264 10-bit (x264)", "x264_10bit", "H.264 10-bit (libx264)", HB_VCODEC_X264_10BIT, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_H264, },
{ { "H.264 (Intel QSV)", "qsv_h264", "H.264 (Intel Media SDK)", HB_VCODEC_QSV_H264, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_H264, },
- { { "H.264 (NVENC)", "h264_nvenc", "H.264 (NVENC)", HB_VCODEC_FFMPEG_H264, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_FF_H264, },
- { { "H.265 (NVENC)", "hvec_nvenc", "H.265 (NVENC)", HB_VCODEC_FFMPEG_H265, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_FF_H265, },
+ { { "H.264 (NVENC)", "h264_nvenc", "H.264 (NVENC)", HB_VCODEC_FFMPEG_H264_NVENC, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_FF_H264, },
+ { { "H.265 (NVENC)", "hvec_nvenc", "H.265 (NVENC)", HB_VCODEC_FFMPEG_H265_NVENC, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, HB_GID_VCODEC_FF_H265, },
{ { "H.265 (x265)", "x265", "H.265 (libx265)", HB_VCODEC_X265_8BIT, HB_MUX_AV_MP4|HB_MUX_AV_MKV, }, NULL, 1, HB_GID_VCODEC_H265, },
{ { "H.265 10-bit (x265)", "x265_10bit", "H.265 10-bit (libx265)", HB_VCODEC_X265_10BIT, HB_MUX_AV_MP4|HB_MUX_AV_MKV, }, NULL, 1, HB_GID_VCODEC_H265, },
{ { "H.265 12-bit (x265)", "x265_12bit", "H.265 12-bit (libx265)", HB_VCODEC_X265_12BIT, HB_MUX_AV_MP4|HB_MUX_AV_MKV, }, NULL, 1, HB_GID_VCODEC_H265, },
@@ -291,8 +291,8 @@ static int hb_video_encoder_is_enabled(int encoder)
return (api != NULL);
}
- case HB_VCODEC_FFMPEG_H264:
- case HB_VCODEC_FFMPEG_H265:
+ case HB_VCODEC_FFMPEG_H264_NVENC:
+ case HB_VCODEC_FFMPEG_H265_NVENC:
{
return hb_av_encoder_present(encoder);
}
@@ -1299,8 +1299,8 @@ void hb_video_quality_get_limits(uint32_t codec, float *low, float *high,
*/
case HB_VCODEC_X264_8BIT:
case HB_VCODEC_X265_8BIT:
- case HB_VCODEC_FFMPEG_H264:
- case HB_VCODEC_FFMPEG_H265:
+ case HB_VCODEC_FFMPEG_H264_NVENC:
+ case HB_VCODEC_FFMPEG_H265_NVENC:
*direction = 1;
*granularity = 0.1;
*low = 0.;
@@ -1371,8 +1371,8 @@ const char* hb_video_quality_get_name(uint32_t codec)
case HB_VCODEC_X265_16BIT:
return "RF";
- case HB_VCODEC_FFMPEG_H264:
- case HB_VCODEC_FFMPEG_H265:
+ case HB_VCODEC_FFMPEG_H264_NVENC:
+ case HB_VCODEC_FFMPEG_H265_NVENC:
case HB_VCODEC_FFMPEG_VP8:
case HB_VCODEC_FFMPEG_VP9:
return "CQ";