[mythtv-commits] Re: Ticket #715: Frontend crash on entering Live TV (r8041)

MythTV mythtv at cvs.mythtv.org
Thu Dec 8 01:43:34 EST 2005


#715: Frontend crash on entering Live TV (r8041)
---------------------------------------+------------------------------------
 Reporter:  a.petersen AT telstra.com  |        Owner:  danielk 
     Type:  defect                     |       Status:  assigned
 Priority:  major                      |    Milestone:  0.19    
Component:  mythtv                     |      Version:  head    
 Severity:  medium                     |   Resolution:          
---------------------------------------+------------------------------------
Changes (by danielk):

  * status:  new => assigned

Comment:

 I can't reproduce stuart's backtrace, probably because this is fixed in
 SVN?
 But I can reproduce the EPG fault. I get this in a backtrace after an
 aspect ratio switch while the EPG is on screen:

 #10 0xb7addce0 in OSDSet::Reinit (this=0x8e5a180, screenwidth=704,
 screenheight=480, xoff=0, yoff=0, displaywidth=-1128, displayheight=401,
 wmult=-1.76250005, hmult=0.835416675, frint=33366)

 It appears the VideoOutput::GetVisibleOSDBounds() is broken for embedded
 video, probably due to using dispw & disph which appear to not be updated
 when doing an embedding.

 I'll look at this in detail tomorrow but as a workaround, adding this
 {{{
     visible_aspect = abs(visible_aspect);
     font_scaling   = abs(font_scaling);
     if (vb.width() < 0 || vb.height() < 0)
         vb = QRect(vb.x(), vb.y(), abs(vb.width()), abs(vb.height()));
 }}}
 before the "return vb;" in VideoOutput::GetVisibleOSDBounds(..) in
 videooutbase.cpp prevents the segfault.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/715>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list