diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2017-06-15 11:47:16 -0700 |
---|---|---|
committer | John Stebbins <stebbins@jetheaddev.com> | 2017-06-20 08:08:38 -0700 |
commit | 84ab1cc437fa47a00532f305b9fe15b5b66c8c5e (patch) | |
tree | 333884daaa0713711dd13da105dd7610d71c4964 /libavformat | |
parent | 1ea9b7fdf99b60c0db95a2ce97b2108469bbb245 (diff) | |
download | ffmpeg-streaming-84ab1cc437fa47a00532f305b9fe15b5b66c8c5e.zip ffmpeg-streaming-84ab1cc437fa47a00532f305b9fe15b5b66c8c5e.tar.gz |
movenc: allow alternative hvc1 h.265 codec tag
If AVCodecParameters.codec_tag is 'hvc1' use it instead of 'hev1' for
h.265 streams. QuickTime (and other Apple software) requires 'hvc1'.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f637508..a546fdf 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4397,6 +4397,7 @@ const AVCodecTag codec_mp4_tags[] = { { AV_CODEC_ID_MPEG4 , MKTAG('m', 'p', '4', 'v') }, { AV_CODEC_ID_H264 , MKTAG('a', 'v', 'c', '1') }, { AV_CODEC_ID_HEVC , MKTAG('h', 'e', 'v', '1') }, + { AV_CODEC_ID_HEVC , MKTAG('h', 'v', 'c', '1') }, { AV_CODEC_ID_MPEG2VIDEO , MKTAG('m', 'p', '4', 'v') }, { AV_CODEC_ID_MPEG1VIDEO , MKTAG('m', 'p', '4', 'v') }, { AV_CODEC_ID_MJPEG , MKTAG('m', 'p', '4', 'v') }, |