[MPlayer-dev-eng] [PATCH] support for all mpeg types over HTTP
Nico Sabbi
nsabbi at tiscali.it
Sun Nov 21 13:17:34 CET 2004
Nico Sabbi wrote:
>
> This patch permits to stream all mpeg formats over http (previously TS
> was escluded
> because network.c forced DEMUXER_TYPE_MPEG_PS).
>
> Current mpeg demuxers are very reliable when probing, so there should
> be no problem.
>
> If no one object I will commit sunday.
>
> Nico
>
>------------------------------------------------------------------------
>
>Index: network.c
>===================================================================
>RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
>retrieving revision 1.105
>diff -c -u -c -u -r1.105 network.c
>--- network.c 25 Jul 2004 00:37:07 -0000 1.105
>+++ network.c 18 Nov 2004 07:22:14 -0000
>@@ -67,9 +67,9 @@
> // MP3 streaming, some MP3 streaming server answer with audio/mpeg
> { "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 },
>+ { "video/mpeg", DEMUXER_TYPE_UNKNOWN },
>+ { "video/x-mpeg", DEMUXER_TYPE_UNKNOWN },
>+ { "video/x-mpeg2", DEMUXER_TYPE_UNKNOWN },
> // AVI ??? => video/x-msvideo
> { "video/x-msvideo", DEMUXER_TYPE_AVI },
> // MOV => video/quicktime
>
>
>------------------------------------------------------------------------
>
>
>
committed
More information about the MPlayer-dev-eng
mailing list