[mythtv-commits] Ticket #9192: CC608 "clear display" codes are not processed correctly

MythTV mythtv at cvs.mythtv.org
Sun Nov 7 15:06:42 UTC 2010

#9192: CC608 "clear display" codes are not processed correctly
 Reporter:  gregorio.gervasio@…          |            Type:  defect          
   Status:  new                          |        Priority:  minor           
Milestone:  unknown                      |       Component:  MythTV - General
  Version:  Unspecified                  |        Severity:  medium          
 Keywords:                               |   Ticket locked:  0               
 EIA-608 closed captions are being displayed too long (usually until the
 caption changes).  This isn't usually a big problem except for cases where
 the captioner has explicitly cleared the captions to avoid obscuring some
 on-screen graphic.

 I think this problem was introduced when the OSD was ported to MythUI.  In
 CC608Reader::Update, the captions should be cleared when "subtitle.clr ==
 0 && subtitle.len == 0".  However, SubtitleScreen::DisplayCC608Subtitles
 does not update the display when this happens.

 The attached patch seems to fix the problem.

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

More information about the mythtv-commits mailing list