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

avalanche at beyondmonkey.com avalanche at beyondmonkey.com
Mon Jul 21 17:25:37 EDT 2003


----- 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. :]

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

av



-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffdelay.diff
Type: application/octet-stream
Size: 8385 bytes
Desc: not available
Url : http://lists.snowman.net/pipermail/mythtv-dev/attachments/20030721/5e78069b/ffdelay.obj


More information about the mythtv-dev mailing list