diff options
-rw-r--r-- | libhb/muxavformat.c | 2 | ||||
-rw-r--r-- | libhb/work.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index f628b9628..c4a37a748 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -214,6 +214,7 @@ static int avformatInit( hb_mux_object_t * m ) case HB_VCODEC_X264_8BIT: case HB_VCODEC_X264_10BIT: case HB_VCODEC_QSV_H264: + case HB_VCODEC_H264_NVENC: track->st->codecpar->codec_id = AV_CODEC_ID_H264; /* Taken from x264 muxers.c */ @@ -331,6 +332,7 @@ static int avformatInit( hb_mux_object_t * m ) case HB_VCODEC_X265_16BIT: case HB_VCODEC_QSV_H265: case HB_VCODEC_QSV_H265_10BIT: + case HB_VCODEC_HEVC_NVENC: track->st->codecpar->codec_id = AV_CODEC_ID_HEVC; track->st->codecpar->codec_tag = MKTAG('h','v','c','1'); diff --git a/libhb/work.c b/libhb/work.c index bce29a92a..cf0df4fc8 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -227,21 +227,21 @@ hb_work_object_t* hb_video_encoder(hb_handle_t *h, int vcodec) case HB_VCODEC_X264_10BIT: w = hb_get_work(h, WORK_ENCX264); break; - case HB_VCODEC_H264_NVENC: case HB_VCODEC_QSV_H264: case HB_VCODEC_QSV_H265: case HB_VCODEC_QSV_H265_10BIT: + case HB_VCODEC_H264_NVENC: w = hb_get_work(h, WORK_ENCQSV); break; case HB_VCODEC_THEORA: w = hb_get_work(h, WORK_ENCTHEORA); break; #ifdef USE_X265 - case HB_VCODEC_HEVC_NVENC: case HB_VCODEC_X265_8BIT: case HB_VCODEC_X265_10BIT: case HB_VCODEC_X265_12BIT: case HB_VCODEC_X265_16BIT: + case HB_VCODEC_HEVC_NVENC: w = hb_get_work(h, WORK_ENCX265); break; #endif |