Can someone verify that this works?
I sent it to bjm, but I think he went to sleep or something...
-- Daniel
Index: libs/libmythtv/videooutbase.cpp
===================================================================
--- libs/libmythtv/videooutbase.cpp (revision 7996)
+++ libs/libmythtv/videooutbase.cpp (working copy)
@@ -537,14 +537,17 @@
tl += s;
br -= (s * 2);
}
+ QRect vb(tl, br);
// set the physical aspect ratio of the displayable area
float dispPixelAdj = (GetDisplayAspect() * XJ_height) / XJ_width;
visible_aspect = XJ_aspect * dispPixelAdj;
+ // now adjust for scaling of the video
+ visible_aspect = (vb.width()*1.3333f)/(visible_aspect*vb.height());
// this can be used to account for Zooming letterbox modes
font_scaling = 1.0f;
- return QRect(tl, br);
+ return vb;
}
/**
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev