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
Index: playbackbox.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythfrontend/playbackbox.cpp,v
retrieving revision 1.207
diff -r1.207 playbackbox.cpp
295a296
>     state = kStopped;
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to