[mythtv] [Patch] FF past end of recording/livetv freeze fix

Isaac Richards ijr at po.cwru.edu
Mon Jul 21 12:44:43 EDT 2003


On Monday 21 July 2003 10:25 am, avalanche at beyondmonkey.com wrote:
> ----- Original Message -----
> From: "Isaac Richards" <ijr at po.cwru.edu>
> To: "Development of mythtv" <mythtv-dev at snowman.net>
> Sent: Sunday, July 20, 2003 11:36 PM
> Subject: Re: [mythtv] [Patch] FF past end of recording/livetv freeze fix
>
> > Heh.  Good stuff, I just applied this.  Copied it over to the
> > avformatdecoder.cpp as well, as I imagine it's a similar issue there.  Do
> > you know how this was getting triggered, though?  The CalcMaxFFTime
> > function in NuppelVideoPlayer.cpp should be making sure it doesn't seek
> > too close to the currently writing position.
>
> I did some more digging, the CalcMaxFFTime function is working just fine.
> The problem was that, as soon as the FF time was clipped to 0, the repeated
> FF keys flooded the system. That caused the player to skip 100 or more
> frames, so it basically ended up where it wasn't supposed be get. I added
> some stuff to limit the FF repeats with a timer if you're close to the
> start or end. It's really sweet now, almost no delays when you hit the
> limit and you can rest your head on the FF button for a night without
> problems. :]

Ah -- I don't use any of the auto-repeat stuff, so I never saw that.  Good 
find =)

> The patch also contains stuff to automatically quit the epg if the
> 'askrecording' dialog pops up or a recording starts.

Where's it tell the epg to actually quit, though?  Looks like it just deletes 
it out from under it..  Can't be good =)  I'll commit everything but that, 
and look into a better way to do it.

Isaac


More information about the mythtv-dev mailing list