[MPlayer-dev-eng] force lavf demuxer for rtmp?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 22 08:05:37 CET 2010


On Sun, Mar 21, 2010 at 08:22:00PM -0700, Howard Chu wrote:
> @@ -251,8 +254,13 @@ static int rtmp_stream_open(stream_t *stream, int mode, void *opts,
>      stream->type    = STREAMTYPE_STREAM;
>      stream->priv    = rs;
>  
> -    *file_format = DEMUXER_TYPE_LAVF_PREFERRED;
> -    fixup_network_stream_cache(stream);
> +    *file_format = DEMUXER_TYPE_LAVF;

LAVF may read several MB of data before giving up on autodetection, so this
change is a rather bad idea unless really necessary.



More information about the MPlayer-dev-eng mailing list