[mythtv] [PATCH] Pause on wrong frame

Shane Shrybman shrybman at aei.ca
Wed Feb 2 22:44:55 UTC 2005


Hi David & Isaac,

Just a reminder of a bug that David Engel helped me track down a while
back. We copied you on a few messages at that time but a fix was not
found/committed.

The problem is that the we do not display the correct frame when pausing
while in 5X, 10X .. ff/rew mode.

In NVP:DoPlay() and DoPause(), ClearAfterSeek() is called when
skip_changed is true. This "drains" the buffers and we end up using a
scratchframe for the pause frame. Which isn't that pretty :)

One possible fix that David suggested at the time was to call GetFrame()
after the ClearAfterSeek calls in those two functions. I found that I
actually needed two GetFrame calls in those functions. The patch is
attached.

Regards,

Shane


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5X_to_pause.diff
Type: text/x-patch
Size: 912 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050202/cbd6def2/5X_to_pause.bin


More information about the mythtv-dev mailing list