[Mplayer-cvslog] CVS: main/libmpdemux network.c,1.65,1.66
Bertrand Baudet
bertrand at mplayerhq.hu
Tue Nov 5 20:04:12 CET 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv16297
Modified Files:
network.c
Log Message:
Added OGG streaming support, patch from Balatoni Denes <pnis at coder.hu>
Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- network.c 1 Nov 2002 17:46:43 -0000 1.65
+++ network.c 5 Nov 2002 19:03:52 -0000 1.66
@@ -72,7 +72,10 @@
{ "audio/x-mpegurl", DEMUXER_TYPE_PLAYLIST },
{ "audio/x-pls", DEMUXER_TYPE_PLAYLIST },
// Real Media
- { "audio/x-pn-realaudio", DEMUXER_TYPE_REAL }
+ { "audio/x-pn-realaudio", DEMUXER_TYPE_REAL },
+ // OGG Streaming
+ { "application/x-ogg", DEMUXER_TYPE_OGG }
+
};
static struct {
@@ -94,6 +97,7 @@
{ "ra", DEMUXER_TYPE_REAL },
{ "y4m", DEMUXER_TYPE_Y4M },
{ "mp3", DEMUXER_TYPE_AUDIO },
+ { "ogg", DEMUXER_TYPE_OGG },
{ "wav", DEMUXER_TYPE_AUDIO },
{ "pls", DEMUXER_TYPE_PLAYLIST },
{ "m3u", DEMUXER_TYPE_PLAYLIST }
@@ -871,6 +875,7 @@
case DEMUXER_TYPE_FILM:
case DEMUXER_TYPE_ROQ:
case DEMUXER_TYPE_AUDIO:
+ case DEMUXER_TYPE_OGG:
case DEMUXER_TYPE_PLAYLIST:
case DEMUXER_TYPE_UNKNOWN:
// Generic start, doesn't need to filter
More information about the MPlayer-cvslog
mailing list