[mythtv] [PATCH] Potential display aspect ratio patch for non-4:3 and non-16:9 displays

Ed Wildgoose lists at wildgooses.com
Mon Feb 2 05:17:25 EST 2004


>I have a 1280x800 resolution laptop and noticed that the code was assuming
>my display is 16:9 since it's not 4:3.  This causes the 4:3 aspect video to
>have black bars added that are too large so the video is displayed at almost
>a 4:4 ratio instead of the desired 4:3 ratio.  Instead of assuming the
>display is 16:9 if it's not 4:3, the attached code will calculate the
>desired video width based upon the video ratio and the display height.
>  
>

Remember that you can also set "DisplaySize" in your xf86config file in 
order to tell it what the REAL aspect ratio is of your screen.  For 
example I can only get my tvout to work in 720x576 instead of 768x576 
and so I set the DisplaySize variable and now mplayer, myth, etc all get 
the video display aspect just perfect.


More information about the mythtv-dev mailing list