diff options
author | Tim Walker <[email protected]> | 2015-09-20 12:54:01 +0200 |
---|---|---|
committer | Tim Walker <[email protected]> | 2015-09-20 12:54:01 +0200 |
commit | fa6604feffe1d61535ae0093055b5b647a1a4a18 (patch) | |
tree | d9d47f2d1d8aceca0495ac96130b908298608a5f /libhb/muxavformat.c | |
parent | 74234342b8ec3aa7fcbd5a3b2cdf3d5e56bd3d99 (diff) |
qsv: HEVC encoding support.
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 e6ad4ae23..bfa377089 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -324,6 +324,7 @@ static int avformatInit( hb_mux_object_t * m ) } break; case HB_VCODEC_X265: + case HB_VCODEC_QSV_H265: track->st->codec->codec_id = AV_CODEC_ID_HEVC; if (job->config.h265.headers_length > 0) @@ -1069,6 +1070,7 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu pkt.duration = duration; if (track->type == MUX_TYPE_VIDEO && ((job->vcodec & HB_VCODEC_H264_MASK) || + (job->vcodec & HB_VCODEC_H265_MASK) || (job->vcodec & HB_VCODEC_FFMPEG_MASK))) { if (buf->s.frametype == HB_FRAME_IDR) |