[mythtv-commits] Ticket #8045: Video Menu not displaying on dvd being inserted

MythTV mythtv at cvs.mythtv.org
Mon Feb 8 08:01:26 UTC 2010


#8045: Video Menu not displaying on dvd being inserted
--------------------------------------------------------+-------------------
 Reporter:  John Harvey <john.p.harvey@…>               |       Owner:  awithers
     Type:  defect                                      |      Status:  new     
 Priority:  minor                                       |   Milestone:  unknown 
Component:  Plugin - MythVideo                          |     Version:  unknown 
 Severity:  medium                                      |     Mlocked:  0       
--------------------------------------------------------+-------------------
 I've been chasing down a problem where when mythtv is set to switch to dvd
 menu when a dvd is inserted it end up displaying the main menu instead (or
 sometimes nothing) The cause of the problem is that the mediahandler
 notification sends a message "ExitToMainMenu" and then calls the media
 handlers.
 The mythvideo media handler executes and displays the video menu.
 Eventually the system handles the ExitToMainMenu message which then causes
 mythtv to exit the new video menu and return to the main menu.

 If you are using the OpenGL painter & were already on the main menu
 because this occurs while the original main menu is fading it ends up with
 the main menu not being drawn.

 There are a couple of ways i can think of fixing it.

 1) Delay the media callbacks until the main menu is displayed.
 2) Implement and AddStack that sends an event and so the AddStack for the
 new menu gets done after the ExitToMainMenu
 3) Somehow make the system ignore the 1st exit when it is done on the menu
 after being launched in this way.

 I am investigating fixes and will attempt to produce a patch for this.

 I suspect 1) is the most general but could have more impact
 2) Is probably easier and would just affect mythvideo
 3) I really don't like this.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8045>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list