[mythtv] [PATCH] Potential display aspect ratio patch for non-4:3

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


> I *think* the base of the problem is that videoout_xv is a little loose 
> with setting the height, width and aspect when the output is not full 
> screen - it assumes the display has an aspect that matches the video, 
> which causes the above code to always fill the window, irrespective of 
> window & video aspect. I can't tell if the aspect is being used as a 
> sentinel for something else though...
> 
> The solution would be to calculate the window's aspect, based on the 
> full display size, and works for me. Something like this, probably with 
> a little more paranoia, and repeated in _viaslice and _xvmc:

Don't think I replied to this earlier...

> *** ./libs/libmythtv/videoout_xv.cpp    5 Feb 2004 22:50:45 -0000       1.96
> --- ./libs/libmythtv/videoout_xv.cpp    10 Feb 2004 12:53:09 -0000
> ***************
> *** 224,236 ****

Thanks, a modified version of this patch has been added to CVS.

-- 

Chris



More information about the mythtv-dev mailing list