[mythtv] Mythgallery on 16:9 screens

Julian Scheel julian at jusst.de
Wed Jun 16 03:00:26 EDT 2004


Have you set a correct DisplaySize in XF86Config? - Maybe the value, which 
your monitor delivers isn't correct...
You could add some debugging-outputs in the calculation process on 
scale_aspect_w. scale_aspect_w is the multiplifier, which is used to stretch 
the image to the correct width.

Julian

Am Mittwoch, 16. Juni 2004 08:49 schrieb Craig Rindy:
> I've been interested in the same thing as Ed for quite some time, but it
> was never important enough to warrant top priority.  The patch does not fix
> the problem for me with a 1920 X 540 screen on a Mitsubishi HD monitor
> (resolution makes everything seem twice as skinny as regular old
> widescreen).  All images are still distorted.
>
> Julian Scheel wrote:
> > I attached a patch, which implements what you asked for in glsingleview.
> > It's not a very clean solution, but a working solution. Maybe this points
> > you to the basics you need, to do it in a clean way (c:
> > Feel free to modify it!
> >
> > Julian
> >
> > Am Dienstag, 15. Juni 2004 16:23 schrieb Ed Wildgoose:
> >>I assume that a few other people here have Mythgallery running on a
> >>widescreen display, but with non-square pixels? eg 720x576 is the only
> >>TV mode my FX5200 will do...
> >>
> >>Obviously the gallery code is assuming square pixels when it displays
> >>the pictures.  Any workarounds apart from hacking the code? (X is
> >>already setup to know about the real aspect ratio)
> >>
> >>In terms of changing the code, a possible "in" seems to be in the
> >>(Gl)SingleView.cpp :: LoadImage function where it prepares the QPixmap.
> >>Does this sound sensible?  Anyone know offhand what the function would
> >>be to distort said Pixmap...?  There would need to be something similar
> >>for the thumbnails as well I guess, but it's less noticible there
> >>
> >>Thanks for any thoughts
> >>
> >>Ed W

-- 
Grüße,
Julian


More information about the mythtv-dev mailing list