The webvtt extension is sometimes used in HLS playlists.
Unified · Split
| @@ -216,7 +216,8 @@ static const AVClass webvtt_demuxer_class = { · 215 unmodified lines | ||
| 216 | 216 | const FFInputFormat ff_webvtt_demuxer = { |
| 217 | 217 | .p.name = "webvtt", |
| 218 | 218 | .p.long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), |
| 219 | − .p.extensions = "vtt", | |
| 219 | + .p.mime_type = "text/vtt", | |
| 220 | + .p.extensions = "vtt,webvtt", | |
| 220 | 221 | .p.priv_class = &webvtt_demuxer_class, |
| 221 | 222 | .priv_data_size = sizeof(WebVTTContext), |
| 222 | 223 | .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP, |