[WIN] fix ASS subs for chipsets that don't have D3DFMT_A8 textures and return D3DFMT_...
authorCrystalP <CrystalP@xbmc.org>
Sat, 27 Aug 2011 05:44:54 +0000 (01:44 -0400)
committerCrystalP <CrystalP@xbmc.org>
Mon, 29 Aug 2011 00:29:04 +0000 (20:29 -0400)
commit8f8b8385996a4354f78afcc9dd80dd456c4f2a7a
tree398efbe8459d7468cb4b8c9c550ca81b72bed7b8
parentb3d028f002f871edc11cfd75956e1b548e9c766c
[WIN] fix ASS subs for chipsets that don't have D3DFMT_A8 textures and return D3DFMT_A8R8G8B8 instead.

libass returns the glyphs in a 8bit monochrome format, which must be expanded to the alpha channel of the 32bits D3DFMT_A8R8G8B8 format. The rest of the overlay code assumes the data is in the alpha channel, the others don't matter.
xbmc/cores/VideoRenderers/OverlayRendererDX.cpp