forked from mia/Aegisub
adapt to fixed asa color
Originally committed to SVN as r404.
This commit is contained in:
parent
c8f50a0b71
commit
1728f2f523
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue