From 1728f2f52391a338767fb467c8da7f86602d9cac Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 25 May 2006 16:05:53 +0000 Subject: [PATCH] adapt to fixed asa color Originally committed to SVN as r404. --- core/subtitle_provider_asa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/subtitle_provider_asa.cpp b/core/subtitle_provider_asa.cpp index 16b798c3e..642a27554 100644 --- a/core/subtitle_provider_asa.cpp +++ b/core/subtitle_provider_asa.cpp @@ -108,7 +108,7 @@ void SubtitleProviderASA::Render(wxImage &frame, int ms) { struct asa_frame aframe; 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.stride = 3 * frame.GetWidth(); asa_render(inst, ms * 0.001, &aframe);