adapt to fixed asa color

Originally committed to SVN as r404.
This commit is contained in:
David Lamparter 2006-05-25 16:05:53 +00:00
parent c8f50a0b71
commit 1728f2f523
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void SubtitleProviderASA::Render(wxImage &frame, int ms)
{ {
struct asa_frame aframe; struct asa_frame aframe;
aframe.csp = ASACSP_RGB; aframe.csp = ASACSP_RGB;
aframe.bmp.rgb.fmt = ASACSPR_RGB; aframe.bmp.rgb.fmt = ASACSPR_BGR;
aframe.bmp.rgb.d.d = frame.GetData(); aframe.bmp.rgb.d.d = frame.GetData();
aframe.bmp.rgb.d.stride = 3 * frame.GetWidth(); aframe.bmp.rgb.d.stride = 3 * frame.GetWidth();
asa_render(inst, ms * 0.001, &aframe); asa_render(inst, ms * 0.001, &aframe);