mpegtsenc: recognize .mts as MPEG Transport Stream

This commit is contained in:
Jean-Baptiste Mardelle 2014-11-29 17:53:46 +01:00 committed by Vittorio Giovara
parent 8f8caca224
commit 7319a47c7e
1 changed files with 1 additions and 1 deletions

View File

@ -1270,7 +1270,7 @@ AVOutputFormat ff_mpegts_muxer = {
.name = "mpegts", .name = "mpegts",
.long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"), .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
.mime_type = "video/x-mpegts", .mime_type = "video/x-mpegts",
.extensions = "ts,m2t,m2ts", .extensions = "ts,m2t,m2ts,mts",
.priv_data_size = sizeof(MpegTSWrite), .priv_data_size = sizeof(MpegTSWrite),
.audio_codec = AV_CODEC_ID_MP2, .audio_codec = AV_CODEC_ID_MP2,
.video_codec = AV_CODEC_ID_MPEG2VIDEO, .video_codec = AV_CODEC_ID_MPEG2VIDEO,