diff options
author | jonasno <jonasno@users.sourceforge.net> | 2010-03-09 15:44:03 +0300 |
---|---|---|
committer | jonasno <jonasno@users.sourceforge.net> | 2010-03-09 15:44:03 +0300 |
commit | 21c0cb78a588672ad4ce69f4d1c5b4cf60ba3ee9 (patch) | |
tree | 353ecce0184d999d473034ebe55d13bec9161a92 /src/subtitles/Rasterizer.cpp | |
parent | ad7e6be5c677f58e3cf00e80d6dc5d29aad3cc49 (diff) |
-Updated VSFilterMod from r20 to r25
-Fixed subtitle bug (Ticket #345) Link: http://sourceforge.net/apps/trac/mpc-hc/ticket/345
-Updated build script
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1746 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/Rasterizer.cpp')
-rw-r--r-- | src/subtitles/Rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subtitles/Rasterizer.cpp b/src/subtitles/Rasterizer.cpp index 61d1e7336..b81a41a3d 100644 --- a/src/subtitles/Rasterizer.cpp +++ b/src/subtitles/Rasterizer.cpp @@ -749,7 +749,7 @@ bool Rasterizer::Rasterize(int xsub, int ysub, int fBlur, double fGaussianBlur) for(; it!=itEnd; ++it)
{
- size_t y = ((((*it).first >> 32) - 0x40000000) + ysub);
+ size_t y = (((*it).first >> 32) - 0x40000000 + ysub);
size_t x1 = (((*it).first & 0xffffffff) - 0x40000000 + xsub);
size_t x2 = (((*it).second & 0xffffffff) - 0x40000000 + xsub);
@@ -1803,7 +1803,7 @@ CRect Rasterizer::Draw(SubPicDesc& spd, CRect& clipRect, byte* pAlphaMask, int x rnfo.mod_vc = mod_vc;
rnfo.mod_grad = mod_grad;
rnfo.mod_grad.width = mOverlayWidth;
- rnfo.mod_grad.height = h;
+ rnfo.mod_grad.height = mOverlayHeight;
rnfo.mod_grad.xoffset = xo;
rnfo.mod_grad.yoffset = yo;
rnfo.typ = typ;
|