summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
diff options
context:
space:
mode:
authorMichael Wootton <[email protected]>2018-01-23 17:01:03 -0600
committerBradley Sepos <[email protected]>2018-06-06 14:39:28 -0400
commit4456e3390ce40d9cff98efc8afd888e4d52a60d5 (patch)
tree42914010d2b36322bd84bafb5d5feeff8356c4dd /libhb/muxavformat.c
parentacdc27993093f6acd5f47c0f79cc9e4209a9d8e9 (diff)
Add support for VCE hardware encoding.
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r--libhb/muxavformat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index 698096600..c648e7ca2 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_FFMPEG_VCE_H264:
track->st->codecpar->codec_id = AV_CODEC_ID_H264;
if (job->mux == HB_MUX_AV_MP4 && job->inline_parameter_sets)
{
@@ -339,6 +340,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_FFMPEG_VCE_H265:
track->st->codecpar->codec_id = AV_CODEC_ID_HEVC;
if (job->mux == HB_MUX_AV_MP4 && job->inline_parameter_sets)
{