[MPlayer-dev-eng] Demuxer type for http streams
Nico Sabbi
nicola_sabbi at fastwebnet.it
Thu Sep 14 09:10:55 CEST 2006
Evgeniy Stepanov wrote:
>Hi,
>
>currently, for http streams with mime type "application/octet-stream" ASF
>demuxer is forced. However, they can contain much more than that. For
>example, VLC uses this mime type for almost every container, including
>MPEG-PS. Mplayer fails to play such streams without -demuxer option.
>
>DEMUXER_TYPE_UNKNOWN seems a better choice to me.
>
>
>------------------------------------------------------------------------
>
>Index: stream/network.c
>===================================================================
>--- stream/network.c (revision 19831)
>+++ stream/network.c (working copy)
>@@ -76,7 +76,7 @@
> { "video/x-ms-wma", DEMUXER_TYPE_ASF },
> { "application/x-mms-framed", DEMUXER_TYPE_ASF },
> { "application/vnd.ms.wms-hdr.asfv1", DEMUXER_TYPE_ASF },
>- { "application/octet-stream", DEMUXER_TYPE_ASF },
>+ { "application/octet-stream", DEMUXER_TYPE_UNKNOWN },
> // Playlists
> { "video/x-ms-wmx", DEMUXER_TYPE_PLAYLIST },
> { "audio/x-scpls", DEMUXER_TYPE_PLAYLIST },
>
>
>------------------------------------------------------------------------
>
>
>
I agree 100%
More information about the MPlayer-dev-eng
mailing list