[MPlayer-dev-eng] force lavf demuxer for rtmp?
Michael Niedermayer
michaelni at gmx.at
Thu Apr 1 14:09:26 CEST 2010
meOn Mon, Mar 22, 2010 at 08:05:37AM +0100, Reimar Döffinger wrote:
> 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.
you can set AVCodecContext.probesize since r22758 to limit the maximum
amount probed
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100401/5aee16ba/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list