]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpegtsenc.c
avformat/mpegtsenc: fix HEVC MPEG TS stream type
[ffmpeg] / libavformat / mpegtsenc.c
index 6f075c5c4b7bf89727fd24bfb0d03e3f0e847334..09d1b9e6c6900cdf257b6fcb5a61328afce06b67 100644 (file)
@@ -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;