diff --git a/sub/lavc_conv.c b/sub/lavc_conv.c index 73030207ef..3e0165a84c 100644 --- a/sub/lavc_conv.c +++ b/sub/lavc_conv.c @@ -47,6 +47,9 @@ static const char *get_lavc_format(const char *format) // For the hack involving parse_webvtt(). if (format && strcmp(format, "webvtt-webm") == 0) format = "webvtt"; + // Most text subtitles are srt/html style anyway. + if (format && strcmp(format, "text") == 0) + format = "subrip"; return format; }