[mythtv] Ticket #4872: Detect if video is letterboxed and switch to corect fill mode

Petr Stehlik pstehlik at sophics.cz
Wed Apr 2 19:21:48 UTC 2008


Mårten Bohlin píše v Út 01. 04. 2008 v 09:10 +0200:
> >      if (video aspect ratio != screen aspect ratio)

> Petr could you try this patch together with my autodetection patch.

It didn't help but guess why - the GetDisplayAspect() function returns
1.3333!

This is from the frontend.log:

2008-04-02 21:08:32.578 max_width: 1360 max_height: 768
2008-04-02 21:08:32.753 Primary screen 0.
2008-04-02 21:08:32.753 Using screen 0, 1360x768 at 0,0

2008-04-02 21:08:56.352 VideoOutputXv: ctor
2008-04-02 21:08:56.354 XOff: 0, YOff: 0
2008-04-02 21:08:56.354 VDP: LoadBestPreferences(720x576, 60)
2008-04-02 21:08:56.354 Display Rect  left: -113, top: 48, width: 1586,
height: 672, aspect: 1.33333
2008-04-02 21:08:56.354 Video Rect    left: 0, top: 0, width: 720,
height: 576, 
aspect: 1.77778
2008-04-02 21:08:56.355 VideoOutputXv: Pixel dimensions: Screen
1360x768, window 1360x768

I have no idea where those Display Rect numbers above come from. -113?
1586??? :-O My display is clearly 1360x768..

Petr




More information about the mythtv-dev mailing list