diff options
author | John Stebbins <[email protected]> | 2017-06-14 12:10:32 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2017-06-14 12:10:32 -0700 |
commit | 67dfaca7ac3ec56cc4ab3c7f9f60ab3b7c43a0db (patch) | |
tree | e7934d3ef3efb4a51c7880af9049a8e8aea5ad2c /libhb/muxavformat.c | |
parent | 16cc03076330b23a0e8744ea125db61a5a2bd2e8 (diff) |
muxavformat: override h.265 'hev1' with 'hvc1' (#782)
This provides compatibility with apple software
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r-- | libhb/muxavformat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 2982ab7d3..f628b9628 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -331,7 +331,8 @@ static int avformatInit( hb_mux_object_t * m ) case HB_VCODEC_X265_16BIT: case HB_VCODEC_QSV_H265: case HB_VCODEC_QSV_H265_10BIT: - track->st->codecpar->codec_id = AV_CODEC_ID_HEVC; + track->st->codecpar->codec_id = AV_CODEC_ID_HEVC; + track->st->codecpar->codec_tag = MKTAG('h','v','c','1'); if (job->config.h265.headers_length > 0) { |