Clear subtitle patch by JTE
authorMarten Richter <marten.richter@freenet.de>
Mon, 10 Dec 2012 07:05:47 +0000 (08:05 +0100)
committerMarten Richter <marten.richter@freenet.de>
Mon, 10 Dec 2012 07:05:47 +0000 (08:05 +0100)
vvideolivetv.cc
vvideorec.cc

index aad1634b0f17f5518ef39eaafa35ee323eb8cc55..d3b6109ba86fa5a34f67c50660c743c156b5609c 100644 (file)
@@ -1219,8 +1219,8 @@ void VVideoLiveTV::clearOSDArea(UINT posX, UINT posY, UINT width, UINT height, c
   float scaley=576.f/((float) (region.frameheight+1));
   r.x=floor(scalex*((float)r.x));
   r.y=floor(scaley*((float)r.y));
-  r.w=ceil(scalex*((float)r.w));
-  r.h=ceil(scaley*((float)r.h));
+  r.w=ceil(scalex*((float)r.w))+1.f;
+  r.h=ceil(scaley*((float)r.h))+1.f;
   rectangle(r, DrawStyle(0,0,0,0));
   boxstack->update(this, &r);
 }
index d5d2e08a2068e4fe06d035704302f0a108130622..d3520d9f59eaf4c0e35b47f78d985d6fc4cc2314 100644 (file)
@@ -1105,8 +1105,8 @@ void VVideoRec::clearOSDArea(UINT posX, UINT posY, UINT width, UINT height, cons
   float scaley=576.f/((float) (region.frameheight+1));
   r.x=floor(scalex*((float)r.x));
   r.y=floor(scaley*((float)r.y));
-  r.w=ceil(scalex*((float)r.w));
-  r.h=ceil(scaley*((float)r.h));
+  r.w=ceil(scalex*((float)r.w))+1.f;
+  r.h=ceil(scaley*((float)r.h))+1.f;
 
   rectangle(r, transparent);
   boxstack->update(this, &r);