Mercurial > mplayer.hg
changeset 8114:ba66375adb6f
Added OGG streaming support, patch from Balatoni Denes <pnis@coder.hu>
author | bertrand |
---|---|
date | Tue, 05 Nov 2002 19:03:52 +0000 |
parents | 0d1ef5f06b3d |
children | 2406eb28a601 |
files | libmpdemux/network.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/network.c Tue Nov 05 15:28:17 2002 +0000 +++ b/libmpdemux/network.c Tue Nov 05 19:03:52 2002 +0000 @@ -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