Added "mpegts" to the supported demuxers.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31456 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-07-08 09:41:00 +00:00
parent 82a8a20999
commit 0c4d88d353

View File

@ -41,12 +41,17 @@ static const DemuxerFormat gDemuxerTable[] = {
// NOTE: Tested with a couple of files and only audio works ok.
// On some files, the duration and time_base is detected incorrectly
// by libavformat and those streams don't play at all.
"mpg", "MPEG (Motion Picture Experts Group)", "video/mpg",
"mpg", "MPEG (Motion Picture Experts Group)", "video/mpeg",
B_MPEG_FORMAT_FAMILY, B_MPEG_FORMAT_FAMILY
},
{
// NOTE: keep this before "mpeg" so it detects "mpegts" first.
"mpegts", "MPEG (Motion Picture Experts Group)", "video/mpeg",
B_WAV_FORMAT_FAMILY, B_AVI_FORMAT_FAMILY
},
{
// TODO: Also covers "mpegvideo", plus see above.
"mpeg", "MPEG (Motion Picture Experts Group)", "video/mpg",
"mpeg", "MPEG (Motion Picture Experts Group)", "video/mpeg",
B_MPEG_FORMAT_FAMILY, B_MPEG_FORMAT_FAMILY
},
{