[Mplayer-cvslog] CVS: main/libmpdemux network.c,1.44,1.45

Alex Beregszaszi alex at mplayerhq.hu
Thu May 9 16:52:35 CEST 2002


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

Modified Files:
	network.c 
Log Message:
added some new types

Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- network.c	30 Apr 2002 17:55:06 -0000	1.44
+++ network.c	9 May 2002 14:52:23 -0000	1.45
@@ -38,6 +38,8 @@
 	{ "audio/mpeg", DEMUXER_TYPE_AUDIO },
 	// MPEG streaming
 	{ "video/mpeg", DEMUXER_TYPE_MPEG_PS },
+	{ "video/x-mpeg", DEMUXER_TYPE_MPEG_PS },
+	{ "video/x-mpeg2", DEMUXER_TYPE_MPEG_PS },
 	// AVI ??? => video/x-msvideo
 	{ "video/x-msvideo", DEMUXER_TYPE_AVI },
 	// MOV => video/quicktime
@@ -53,7 +55,9 @@
 	// Playlists
 	{ "audio/x-scpls", DEMUXER_TYPE_PLAYLIST },
 	{ "audio/x-mpegurl", DEMUXER_TYPE_PLAYLIST },
-	{ "audio/x-pls", DEMUXER_TYPE_PLAYLIST }
+	{ "audio/x-pls", DEMUXER_TYPE_PLAYLIST },
+	// Real Media
+	{ "audio/x-pn-realaudio", DEMUXER_TYPE_REAL }
 };
 
 static struct {
@@ -72,6 +76,7 @@
 	{ "wma", DEMUXER_TYPE_ASF },
 	{ "viv", DEMUXER_TYPE_VIVO },
 	{ "rm", DEMUXER_TYPE_REAL },
+	{ "ra", DEMUXER_TYPE_REAL },
 	{ "y4m", DEMUXER_TYPE_Y4M },
 	{ "mp3", DEMUXER_TYPE_AUDIO },
 	{ "wav", DEMUXER_TYPE_AUDIO },
@@ -797,6 +802,7 @@
 		}
 		mp_msg(MSGT_NETWORK,MSGL_INFO,"Cache size set to %d KBytes\n", cache_size );
 	}
+
 	return ret;
 }
 




More information about the MPlayer-cvslog mailing list