[mythtv] [PATCH] Aspect ratio bug

Chris Pinkham cpinkham at bc2va.org
Thu Feb 12 11:01:01 EST 2004


> It is quite reasonable to set your GUI size to 0x0 (defined in
> setup as "fullscreen") and then set your TV size to be the same
> (which seems to me to be fullscreen too). Unfortunately the 
> aspect ratio calculation goes wrong in this case as it assumes
> that the GUI size is genuine if GuiSizeForTV is set. This patch
> seems to fix it.
> 
>    Dan.

Thanks, I just put a fix for this in my CVS tree about 10 minutes ago
and am going to commit in a little while.

If GuiSizeForTV is set then it checks GuiWidth and GuiHeight but
instead of defaulting their values to 1 like you did, it defaults them
to the actual width and height of the screen.  Then it uses the
values from GetNumSetting() in the two formulas.

-- 

Chris



More information about the mythtv-dev mailing list