aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorolugbone <olugbone@gmail.com>2014-03-03 19:32:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-03-04 15:44:04 +0100
commitb2880a3de9e3e160c47c069abcc8cb60015407b6 (patch)
treecc98ca49d4073bfb252ff30158d73e4bb47d1217 /libavformat/mpegtsenc.c
parentefc4439c894be9f45ec472ad2471143f94abc399 (diff)
downloadffmpeg-b2880a3de9e3e160c47c069abcc8cb60015407b6.tar.gz
avformat/mpegtsenc: fix HEVC MPEG TS stream type
Allowing HEVC video using TS stream type 0x24 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 6f075c5c4b..09d1b9e6c6 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -292,6 +292,9 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service)
case AV_CODEC_ID_H264:
stream_type = STREAM_TYPE_VIDEO_H264;
break;
+ case AV_CODEC_ID_HEVC:
+ stream_type = STREAM_TYPE_VIDEO_HEVC;
+ break;
case AV_CODEC_ID_CAVS:
stream_type = STREAM_TYPE_VIDEO_CAVS;
break;