[FFmpeg-devel] [PATCH] fix matroska decoder for streamed input

Reimar Döffinger Reimar.Doeffinger
Sat Jun 5 18:56:34 CEST 2010


On Sat, Jun 05, 2010 at 12:29:31PM -0400, David Conrad wrote:
> On Jun 5, 2010, at 12:24 PM, Reimar D?ffinger wrote:
> > 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?

Yes, however
a) with high-latency connections that's a good thing
b) I'd consider broken seeking better than completely non-working
playback when e.g. the server does not accept range requests.

However, is there any reason why we can't read those seekheads when we
actually want to seek, at least for the streamed case?
And does someone have a sample file where this patch makes a easily visible
difference?



More information about the ffmpeg-devel mailing list