[mythtv-commits] Ticket #8931: EIA-608 caption initialization

MythTV mythtv at cvs.mythtv.org
Mon Sep 13 20:47:31 UTC 2010


#8931: EIA-608 caption initialization
------------------------------------------------+---------------------------
 Reporter:  Jim Stichnoth <stichnot@…>          |            Type:  patch           
   Status:  new                                 |        Priority:  minor           
Milestone:  unknown                             |       Component:  MythTV - General
  Version:  Trunk Head                          |        Severity:  medium          
 Keywords:                                      |   Ticket locked:  0               
------------------------------------------------+---------------------------
 When SubtitleScreen::DisplayCC608Subtitles() is called, the QFontMetrics
 object is initialized before setPixelSize() is called.  As a result, the
 very first time a caption is displayed after the frontend is started, the
 font size is likely incorrect.  Subsequent captions are fine.

 The attached patch fixes it.  A more efficient solution might be something
 like the way SubtitleScreen::DisplayTextSubtitles() does it.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8931>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list