[Mplayer-cvslog] CVS: main/libmpdemux extension.c,1.1,1.2

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 19 01:40:51 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv599

Modified Files:
	extension.c 
Log Message:
- added some more
- 10l: MPEG_ES shouldn't be forced, the MPEG_PS demuxer will detect it and
switch PS->ES, but ES->PS will never happen!


Index: extension.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/extension.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- extension.c	19 Jan 2003 00:21:54 -0000	1.1
+++ extension.c	19 Jan 2003 00:40:48 -0000	1.2
@@ -17,7 +17,9 @@
 } extensions_table[] = {
         { "mpeg", DEMUXER_TYPE_MPEG_PS },
         { "mpg", DEMUXER_TYPE_MPEG_PS },
-        { "mpe", DEMUXER_TYPE_MPEG_ES },
+        { "mpe", DEMUXER_TYPE_MPEG_PS },
+        { "vob", DEMUXER_TYPE_MPEG_PS },
+        { "m2v", DEMUXER_TYPE_MPEG_PS },
         { "avi", DEMUXER_TYPE_AVI },
         { "mov", DEMUXER_TYPE_MOV },
         { "qt", DEMUXER_TYPE_MOV },
@@ -26,14 +28,24 @@
         { "wmv", DEMUXER_TYPE_ASF },
         { "wma", DEMUXER_TYPE_ASF },
         { "viv", DEMUXER_TYPE_VIVO },
+        { "vivo", DEMUXER_TYPE_VIVO },
         { "rm", DEMUXER_TYPE_REAL },
+        { "rmvb", DEMUXER_TYPE_REAL },
         { "ra", DEMUXER_TYPE_REAL },
         { "y4m", DEMUXER_TYPE_Y4M },
         { "mp3", DEMUXER_TYPE_AUDIO },
-        { "ogg", DEMUXER_TYPE_OGG },
         { "wav", DEMUXER_TYPE_AUDIO },
+        { "ogg", DEMUXER_TYPE_OGG },
+        { "ogm", DEMUXER_TYPE_OGG },
         { "pls", DEMUXER_TYPE_PLAYLIST },
-        { "m3u", DEMUXER_TYPE_PLAYLIST }
+        { "m3u", DEMUXER_TYPE_PLAYLIST },
+        { "xm", DEMUXER_TYPE_XMMS },
+        { "mod", DEMUXER_TYPE_XMMS },
+        { "s3m", DEMUXER_TYPE_XMMS },
+        { "it", DEMUXER_TYPE_XMMS },
+        { "mid", DEMUXER_TYPE_XMMS },
+        { "midi", DEMUXER_TYPE_XMMS },
+        { "vqf", DEMUXER_TYPE_XMMS }
 };
 
 int demuxer_type_by_filename(char* filename){



More information about the MPlayer-cvslog mailing list