[mythtv] [PATCH] Specify aspect ratio cycle

Ed Wildgoose lists at wildgooses.com
Fri Jun 11 17:37:22 EDT 2004


Chris Pinkham wrote:

>>This brings up the point I made in the past about the OSD scaling. If 
>>the OSD was locked to the physical screen size (4:3 tv or 16:9 tv) and 
>>not scaled to the zoom mode (pressing W) then the menu would be shown. I 
>>love mythtv but this is the biggest beef I have with it ;)
>>
>>- James
>>    
>>
>
>Since you've made this point in the past and you're on the -dev list,
>I assume you're working on a solution to this problem.  When you post
>the patch, please put "[PATCH]" in the subject so someone will
>be sure to notice it and get it committed to CVS ASAP.
>
>Since you're looking at this and working on a patch, I assume you already
>know that the scaling is done in hardware after the OSD is drawn on the
>video, so in order to get the OSD to NOT scale with the video when zoom
>modes (either the 'W' key or manual zoom) are used, then you'll have to
>dig into the OSD code and modify it so that the OSD is actually scaled
>DOWN onto the original video so that when the video is zoomed in
>hardware the OSD ends up being the proper size.  Also, make sure that
>your patch handles the case where the user zooms out since manual zoom
>allows this as well as making the OSD draw at the proper position on
>the video since manual zoom also allows you to reposition the video
>on the screen in addition to zooming.
>  
>

I haven't looked at this very hard, but I seem to remember that the 
current code does try to reset the screen size as far as the OSD is 
concerned.  However, it doesn't seem to be taking effect.  I remember 
the original author pointing this out in an email.

It's clearly possible since switching between 4:3 and 16:9 correctly 
moves the OSD, but manually adjusting it appears not to.. 

Probably a one line fix?



More information about the mythtv-dev mailing list