decoder/ffmpeg: add webm as a supported format

This commit is contained in:
Jonathan Neuschäfer
2012-05-22 23:36:47 +02:00
committed by Max Kellermann
parent d3cc8e0ac0
commit 8b6b25220d
2 changed files with 5 additions and 1 deletions

View File

@@ -745,7 +745,8 @@ static const char *const ffmpeg_suffixes[] = {
"ram", "rl2", "rm", "rmvb", "roq", "rpl", "rvc", "shn", "smk", "snd",
"sol", "son", "spx", "str", "swf", "tgi", "tgq", "tgv", "thp", "ts",
"tsp", "tta", "xa", "xvid", "uv", "uv2", "vb", "vid", "vob", "voc",
"vp6", "vmd", "wav", "wma", "wmv", "wsaud", "wsvga", "wv", "wve",
"vp6", "vmd", "wav", "webm", "wma", "wmv", "wsaud", "wsvga", "wv",
"wve",
NULL
};
@@ -809,6 +810,7 @@ static const char *const ffmpeg_mime_types[] = {
"video/msvideo",
"video/ogg",
"video/theora",
"video/webm",
"video/x-dv",
"video/x-flv",
"video/x-matroska",