[mythtv] [PATCH] position map using frame numbers, rev 2

Isaac Richards ijr at po.cwru.edu
Sat Dec 13 23:09:33 EST 2003


On Saturday 13 December 2003 06:30 pm, Doug Larrick wrote:
> On 12/13/03 16:49:29, Isaac Richards wrote:
> > > I just went into edit mode (for the first time ever :-) ) and I can
> > > seek around fine except that seeking by frame seems to seek by
> > > keyframe.  I dunno if this is normal behavior.  I'll take a look at
> > > it.
> >
> > Ah, no, that's not normal.  =) Should be able to do one frame moves,
> > etc. Also, if you could just check that forward and reverse land you
> > in the same spots, and that single frame forwards/reverses also take
> > you to the same frame that, say, a one second seek does.
>
> All right, that's fixed.  Turns out rew was fine, just ff needed to
> round down rather than up to a keyframe in the case where we want
> exactseeks.  Here's the fixed version.

One more question, and I'll apply it, I promise =) For the single frame 
advance (or any exact seek after the current keyframe and before the next), 
does it seek to the nearest keyframe then decode up to where it needs to be, 
or just decode up to where it needs to be?  Obviously, skipping the seek 
would be desired if possible.

Isaac


More information about the mythtv-dev mailing list