mpegtsenc: recognize .mts as MPEG Transport Stream

pull/100/head
Jean-Baptiste Mardelle 10 years ago committed by Vittorio Giovara
parent 8f8caca224
commit 7319a47c7e
  1. 2
      libavformat/mpegtsenc.c

@ -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,

Loading…
Cancel
Save