[mythtv-commits] Re: Ticket #522: Newer DirectFB and DFBCardCapabilities

MythTV mythtv at cvs.mythtv.org
Wed Oct 26 09:26:28 EDT 2005


#522: Newer DirectFB and DFBCardCapabilities
-----------------------------------+----------------------------------------
 Reporter:  kstuard (comcast.net)  |        Owner:  danielk
     Type:  defect                 |       Status:  new    
 Priority:  minor                  |    Milestone:         
Component:  mythtv                 |      Version:  head   
 Severity:  medium                 |   Resolution:         
-----------------------------------+----------------------------------------
Comment (by anonymous):

 The API changed in 0.9.23, and it is incompatible with previous versions.
 The only way to support both is conditional code, testing the DirectFB
 version.

 {{{
 #if (DIRECTFB_MAJOR_VERSION = 0) && (DIRECTFB_MINOR_VERSION <= 9) &&
 (DIRECTFB_MICRO_VERSION <= 22)
    DFBCardCapabilities cardCapabilities;
 #else
    DFBGraphicsDeviceDescription cardDescription;
 #endif
 }}}

 The corresponding interface function has changed too:

 {{{
 - GetCardCapabilities(data->dfb, &(data->cardCapabilities)), false);
 + GetDeviceDescription(data->dfb, &(data->cardDescription)), false);
 }}}

 Michael

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


More information about the mythtv-commits mailing list