avformat/dashenc: Associate mpd extension with dash muxer
authorKarthick J <kjeyapal@akamai.com>
Wed, 22 Nov 2017 08:20:03 +0000 (13:50 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Nov 2017 01:32:33 +0000 (02:32 +0100)
Reviewed-by: 刘歧 <lq@chinaffmpeg.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/dashenc.c

index 201668a..0fee3cd 100644 (file)
@@ -1219,6 +1219,7 @@ static const AVClass dash_class = {
 AVOutputFormat ff_dash_muxer = {
     .name           = "dash",
     .long_name      = NULL_IF_CONFIG_SMALL("DASH Muxer"),
+    .extensions     = "mpd",
     .priv_data_size = sizeof(DASHContext),
     .audio_codec    = AV_CODEC_ID_AAC,
     .video_codec    = AV_CODEC_ID_H264,