[MPlayer-dev-eng] Proposed support for Kate streams
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Mar 18 16:41:44 CET 2008
On Tuesday 18 March 2008 13:44:45 Reimar Döffinger wrote:
> On Tue, Mar 18, 2008 at 11:17:40AM +0100, Reimar Döffinger wrote:
> > On Tue, Mar 18, 2008 at 12:24:52PM +0300, Evgeniy Stepanov wrote:
> > > On Tuesday 18 March 2008 11:28:00 Reimar Döffinger wrote:
> > > > > Slightly off-topic, it seems too early to switch to lavf demuxer at
> > > > > least for ogg and avi: the former does not support seeking to
> > > > > keyframes
> > > >
> > > > I never considered that really relevant I must admit, but I assumed
> > > > it would be a rather simple, although maybe ugly fix.
> > >
> > > I'm not sure about that. Lavf ogg demuxer misses seeking code, and
> > > generic seeking routines simply ignore keyframe information. I really
> > > think it cannot be ignored, because it makes seeking almost unusable.
> >
> > Just make ogg_read_timestamp only return keyframes and seeking will only
> > go to keyframes. Not sure if this is the intended behaviour and if it
> > would be accepted, but it does not look difficult to me (beyond needing
> > a reliable way of detecting keyframes, which IIRC can be quite painful).
>
> More specifically, you could just try attached patch (I have not tested it
> yet).
It scans up to pos_limit, never finding a keyframe.
More information about the MPlayer-dev-eng
mailing list