ffmpeg: declare support for webm and 3gpp.

* Decoding works on the videos I tested with.
* Some videos on Youtube use these formats.
This commit is contained in:
Adrien Destugues 2014-04-09 14:00:08 +02:00
parent 41a807ec64
commit d946ade025
1 changed files with 28 additions and 0 deletions

View File

@ -8,6 +8,20 @@
const media_file_format gMuxerTable[] = {
{
media_file_format::B_READABLE
| media_file_format::B_KNOWS_ENCODED_VIDEO
| media_file_format::B_KNOWS_ENCODED_AUDIO,
{ 0 },
B_MISC_FORMAT_FAMILY,
100,
{ 0 },
"video/3gpp",
"3GPP video",
"3gp",
"3gp",
{ 0 }
},
{
media_file_format::B_READABLE
| media_file_format::B_KNOWS_RAW_AUDIO
@ -290,6 +304,20 @@ const media_file_format gMuxerTable[] = {
"wav",
{ 0 }
},
{
media_file_format::B_READABLE
| media_file_format::B_KNOWS_ENCODED_VIDEO
| media_file_format::B_KNOWS_ENCODED_AUDIO,
{ 0 },
B_MISC_FORMAT_FAMILY,
100,
{ 0 },
"video/webm",
"WebM movie",
"webm",
"webm",
{ 0 }
},
};
const size_t gMuxerCount = sizeof(gMuxerTable) / sizeof(media_file_format);