[FFmpeg-devel] [PATCH] fix matroska decoder for streamed input
Martin Storsjö
martin
Sat Jun 5 18:48:53 CEST 2010
On Sat, 5 Jun 2010, Martin Storsj? wrote:
> On Sat, 5 Jun 2010, David Conrad wrote:
>
> > On Jun 5, 2010, at 12:24 PM, Reimar D?ffinger wrote:
> >
> > > Hello,
> > > the matroska demuxer will attempt seeking when reading the seekhead stuff.
> > > This completely messes up playing from stdin - well, at least within
> > > MPlayer.
> > > I since this is a non-essential part, IMO it should be skipped for
> > > the url_is_streamed case, as in below patch.
> > > Objections to applying it?
> >
> > Doesn't this break reading cues over http?
>
> Perhaps we need to distinguish between streamed http and static http where
> seeking and doing range requests is possible? We could perhaps check
> whether we got any Accept-Ranges header in the reply.
10l to me for replying without reading the fine source first.
We actually do something such - if we get a Content-Range header in the
response, is_streamed is set to 0, to allow seeking.
// Martin
More information about the ffmpeg-devel
mailing list