[MPlayer-dev-eng] Demuxer type for http streams

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Sep 15 23:35:23 CEST 2006


On Thursday 14 September 2006 11:10, Nico Sabbi wrote:
> 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%

Applied.



More information about the MPlayer-dev-eng mailing list