[mythtv] Patch for Video Preview in MythFrontend

Harvard Pan harvardpan at gmail.com
Fri Apr 29 06:13:19 UTC 2005


This patch is for resetting the video player after calling
PlaybackBox::killPlayerSafe. What happens is that the state gets set
to kKilled, which stops the player completely. updateVideo will never
set a kKilled state to anything else. This causes the player to not
restart in certain situations.

Steps to Reproduce Incorrect Behavior:

1. Start MythFrontend
2. Go to Watch Recordings
3. Put the cursor over a existing recording. Note that the preview will begin
4. Press left to go to the Program groups. Note that the preview has
stopped. At this point, the state is kKilled.
5. Press right to go back to the Programs. Note that the preview
doesn't start again as expected. In fact, the only way to get the
preview to start again is to exit the screen, or watch a recording and
exit back to this screen.

This patch simply sets the state to kStopped at the end of the call to
killPlayerSafe.

--Harvard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: playbackbox.diff
Type: text/x-patch
Size: 251 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050428/be222064/playbackbox.bin


More information about the mythtv-dev mailing list