diff options
author | Damiano Galassi <[email protected]> | 2018-11-15 13:56:16 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-11-15 13:56:16 +0100 |
commit | 5c127e80911b92a8a47b08a51e8dfb52e67fc206 (patch) | |
tree | 563ef7ebb98d787281f6d4196e6aad59724e78ab /libhb/muxavformat.c | |
parent | ba7d33db36abe423aadbd36e91bccdabf25709aa (diff) |
Add VideoToolbox hardware encoding thru FFmpeg.
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r-- | libhb/muxavformat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 5f2d7fe87..9f15f52c1 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -252,6 +252,7 @@ static int avformatInit( hb_mux_object_t * m ) case HB_VCODEC_FFMPEG_VCE_H264: case HB_VCODEC_FFMPEG_NVENC_H264: + case HB_VCODEC_FFMPEG_VT_H264: track->st->codecpar->codec_id = AV_CODEC_ID_H264; if (job->mux == HB_MUX_AV_MP4 && job->inline_parameter_sets) { @@ -387,6 +388,7 @@ static int avformatInit( hb_mux_object_t * m ) case HB_VCODEC_FFMPEG_VCE_H265: case HB_VCODEC_FFMPEG_NVENC_H265: + case HB_VCODEC_FFMPEG_VT_H265: track->st->codecpar->codec_id = AV_CODEC_ID_HEVC; if (job->mux == HB_MUX_AV_MP4 && job->inline_parameter_sets) { |