[mythtv-commits] Ticket #6211: program guide (epg) preview window not scaled properly on OS X

MythTV mythtv at cvs.mythtv.org
Sun Mar 1 05:46:26 UTC 2009


#6211: program guide (epg) preview window not scaled properly on OS X
-------------------------------------+--------------------------------------
 Reporter:  risto78 at gmail.com        |        Owner:  nigel     
     Type:  defect                   |       Status:  assigned  
 Priority:  minor                    |    Milestone:  0.21.1    
Component:  MythTV - Video Playback  |      Version:  0.21-fixes
 Severity:  high                     |   Resolution:            
  Mlocked:  0                        |  
-------------------------------------+--------------------------------------
Changes (by nigel):

  * owner:  ijr => nigel
  * status:  new => assigned


Old description:

> when displaying the program guide on OS X,
> the live tv preview window is merely offset but not scaled
>
> the embedded window is shown at the size of the display, so it overlaps
> the guide and runs past the edge of the screen
> it looks like the mainwindow viewport is resized instead for some reason
>
> DEBUG OUTPUT: (using  -v most)
>
> 2009-02-01 15:18:12.658 Disabled deinterlacing
> 2009-02-01 15:18:12.658 VideoOutputQuartz::EmbedInWidget(wid=3195, x=777,
> y=33, w=347, h=197)
> 2009-02-01 15:18:12.659 Display Rect  left: 777, top: 33, width: 347,
> height: 197, aspect: 1.33333
> 2009-02-01 15:18:12.659 Video Rect    left: 0, top: 0, width: 720,
> height: 480, aspect: 1.33333
> 2009-02-01 15:18:12.659 Main window: Viewport is 347 x 197
> 2009-02-01 15:18:12.659 Main window: Image is 720 x 480
> 2009-02-01 15:18:12.659 Main window: Scaling to 0.481944 x 0.410417 of
> original
> 2009-02-01 15:18:12.659 Main window: Translating to 777, 33
> 2009-02-01 15:18:12.692 Embedded window: Viewport currently 0,0 ->
> 1152,656
> 2009-02-01 15:18:12.693 Embedded window: Viewport is 1152 x 656
> 2009-02-01 15:18:12.693 Embedded window: Image is 720 x 480
> 2009-02-01 15:18:12.693 Embedded window: Scaling to 1.6 x 1.36667 of
> original
> 2009-02-01 15:18:12.693 Embedded window: Translating to 777, 33

New description:

 when displaying the program guide on OS X,
 the live tv preview window is merely offset but not scaled

 the embedded window is shown at the size of the display, so it overlaps
 the guide and runs past the edge of the screen
 it looks like the mainwindow viewport is resized instead for some reason

 DEBUG OUTPUT: (using  -v most)
 {{{
 2009-02-01 15:18:12.658 Disabled deinterlacing
 2009-02-01 15:18:12.658 VideoOutputQuartz::EmbedInWidget(wid=3195, x=777,
 y=33, w=347, h=197)
 2009-02-01 15:18:12.659 Display Rect  left: 777, top: 33, width: 347,
 height: 197, aspect: 1.33333
 2009-02-01 15:18:12.659 Video Rect    left: 0, top: 0, width: 720, height:
 480, aspect: 1.33333
 2009-02-01 15:18:12.659 Main window: Viewport is 347 x 197
 2009-02-01 15:18:12.659 Main window: Image is 720 x 480
 2009-02-01 15:18:12.659 Main window: Scaling to 0.481944 x 0.410417 of
 original
 2009-02-01 15:18:12.659 Main window: Translating to 777, 33
 2009-02-01 15:18:12.692 Embedded window: Viewport currently 0,0 ->
 1152,656
 2009-02-01 15:18:12.693 Embedded window: Viewport is 1152 x 656
 2009-02-01 15:18:12.693 Embedded window: Image is 720 x 480
 2009-02-01 15:18:12.693 Embedded window: Scaling to 1.6 x 1.36667 of
 original
 2009-02-01 15:18:12.693 Embedded window: Translating to 777, 33
 }}}

--

Comment:

 One month? That's nothing. The embedded TV window has been broken in one
 way or another since the start of the OS X port (thats late 2004). I don't
 use that feature. Note that assigning it to someone can often mean it is
 ignored for longer because other devs think "OK, Nigel is dealing with
 that one!"
 [[BR]]
 Anyway, in trunk, the embedded window scales OK if Live TV is configured
 to start in the guide, but the guide is never displayed (probably because
 the clipping region is the size of the entire window?). After exiting the
 guide, the small embedded window area remains. If normal LiveTV is
 started, and the EPG is enabled, the window never scales down, and then
 the TV image stays in the window (''i.e.'' the menu is never displayed
 after exiting TV). I will examine fixes when I have time (this is a busy
 few months for me)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6211#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list