[mythtv] BUG? Can't skip when in-progress recording finishes

Bruce Markey bjm at lvcm.com
Fri Apr 30 14:38:50 EDT 2004

Ed Wildgoose wrote:
> Joseph A. Caputo wrote:
>> I was watching 'Survivor' as it was being recorded last night, and 
>> since I have an M-179 I was forced to use the Jump keys to skip the 
>> commercials.  I noticed that when the in-progress recording finished, 
>> I lost the ability to jump.  The OSD would come up but it jumped zero 
>> seconds.  FF/REW still worked.  I exited the recording (saving 
>> position) and then started watching again and was able to jump around 
>> again with no problems.
> This has been a long standing issue with DVB recordings as well.  
> Another minor bugette is that when pausing and pressing forward or back 
> to single frame advance, it first skips a big jump forward and then 
> works ok (probably finding the wrong gop or similar).  Does this also 
> happen for you?

This is a different known problem but is completely unrelated
to the encoder in-progress ending.

What happens here is that there is a variable called framesPlayed
which is more accurately frames decoded. During playback, the frames
are decoded and stuffed into vbuffers which the player uses to step
through the upcoming frames on time (when the vbuffers are empty
the player has to stop to wait for more and reports "prebuffering

If you hit pause when framesPlayed is 1000, there may be 20 frames
in the vbuffers so the frame displayed is 980. the first step
forward decodes frame 1001 so the new displayed frame is 21 frames
later than the paused frame.

--  bjm

More information about the mythtv-dev mailing list