[mythtv] [PATCH] 4:3/16:9 aspect ratio playback toggle

Isaac Richards ijr at po.cwru.edu
Mon Aug 25 13:44:32 EDT 2003

On Monday 25 August 2003 12:02 pm, Mark J. Titorenko wrote:
> On Sun, Aug 24, 2003 at 01:00:52PM +0100, Mark J. Titorenko wrote:
> [snip]
> > Overall, I am incredibly impressed with myth, and I hope to be able to
> > contribute to its development. One thing that comes to mind is that
> > I'd like a toggle in playback mode to switch from 4:3 to 16:9 so I can
> > watch widescreen channels in letterbox on my monitor.  Any pointers as
> > to how this might be achieved would be appreciated.
> I managed to work out where this could (should?) go, so I also
> engineered a patch which maps the W key to a 16:9/4:3 toggle during
> playback.  Works great for me, with the only slight irritation being
> that when toggled into 16:9 mode the letterbox bars end up being blue
> (until the screen is somehow refreshed anyway - I achieve this by
> entering and exiting the EPG).
> Does anybody have any suggestions on how to make the blue bars go
> black?

Yeah, just draw black rectangles where the picture isn't going to be.  
Probably just want to use XFillRectangle() to do that.


More information about the mythtv-dev mailing list