mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
- mpeg extensions removed, it causes misdetction of renamed avi/asf files
- .mp4 added - playlist exts removed, since DEMUX_TYPE_PLAYLIST is dummy, it will never return demuxer!=NULL git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9135 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
38ca2416c1
commit
acfac05390
@ -15,12 +15,13 @@ static struct {
|
||||
char *extension;
|
||||
int demuxer_type;
|
||||
} extensions_table[] = {
|
||||
{ "mpeg", DEMUXER_TYPE_MPEG_PS },
|
||||
{ "mpg", DEMUXER_TYPE_MPEG_PS },
|
||||
{ "mpe", DEMUXER_TYPE_MPEG_PS },
|
||||
// { "mpeg", DEMUXER_TYPE_MPEG_PS },
|
||||
// { "mpg", DEMUXER_TYPE_MPEG_PS },
|
||||
// { "mpe", DEMUXER_TYPE_MPEG_PS },
|
||||
{ "vob", DEMUXER_TYPE_MPEG_PS },
|
||||
{ "m2v", DEMUXER_TYPE_MPEG_PS },
|
||||
{ "avi", DEMUXER_TYPE_AVI },
|
||||
{ "mp4", DEMUXER_TYPE_MOV },
|
||||
{ "mov", DEMUXER_TYPE_MOV },
|
||||
{ "qt", DEMUXER_TYPE_MOV },
|
||||
{ "asx", DEMUXER_TYPE_ASF },
|
||||
@ -37,8 +38,8 @@ static struct {
|
||||
{ "wav", DEMUXER_TYPE_AUDIO },
|
||||
{ "ogg", DEMUXER_TYPE_OGG },
|
||||
{ "ogm", DEMUXER_TYPE_OGG },
|
||||
{ "pls", DEMUXER_TYPE_PLAYLIST },
|
||||
{ "m3u", DEMUXER_TYPE_PLAYLIST },
|
||||
// { "pls", DEMUXER_TYPE_PLAYLIST },
|
||||
// { "m3u", DEMUXER_TYPE_PLAYLIST },
|
||||
{ "xm", DEMUXER_TYPE_XMMS },
|
||||
{ "mod", DEMUXER_TYPE_XMMS },
|
||||
{ "s3m", DEMUXER_TYPE_XMMS },
|
||||
|
Loading…
Reference in New Issue
Block a user