changeset 6032:4577bda5806a

added some new types
author alex
date Thu, 09 May 2002 14:52:23 +0000
parents 63f08ed66948
children fea2bd7ba32a
files libmpdemux/network.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/network.c	Thu May 09 11:25:59 2002 +0000
+++ b/libmpdemux/network.c	Thu May 09 14:52:23 2002 +0000
@@ -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;
 }