[mythtv-commits] Ticket #6618: Reinit direct3d video when device is lost (win32)

MythTV mythtv at cvs.mythtv.org
Wed Jun 10 04:24:30 UTC 2009

#6618: Reinit direct3d video when device is lost (win32)
 Reporter:  Jeff Lu <jll544 at yahoo.com>  |       Owner:  nigel  
     Type:  patch                       |      Status:  new    
 Priority:  minor                       |   Milestone:  unknown
Component:  Ports - Windows             |     Version:  head   
 Severity:  medium                      |     Mlocked:  0      
 If the Direct3D video device is preempted (by a Vista UAC prompt for
 example), currently the video window goes blank, and the console fills
 with a TODO message indicating the device could be reset.  This simple
 patch restores video output by reinitializing D3D when needed.

 A few other minor changes are included: Fix a typo in the init code, add a
 check to PrepareFrame() in case the reinit fails, and reduce console
 flooding when the device is lost.

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

More information about the mythtv-commits mailing list