[mythtv-commits] Ticket #7919: no teletext in mythtv > 0.21

MythTV mythtv at cvs.mythtv.org
Fri Jan 29 04:17:51 UTC 2010


#7919: no teletext in mythtv > 0.21
------------------------------+---------------------------------------------
 Reporter:  anonymous         |       Owner:  janne   
     Type:  defect            |      Status:  assigned
 Priority:  minor             |   Milestone:  unknown 
Component:  MythTV - General  |     Version:  head    
 Severity:  low               |     Mlocked:  0       
------------------------------+---------------------------------------------

Comment(by danielk):

 Frank, does the attached patch work?

 It moves the buf increment inside the decode conditionals and also adds a
 check that we have enough bytes left to safely call
 TeletextDecoder::Decode(). This way we are only incrementing the pointer
 by a full packet size on full-sized packets and on unknown packets types,
 so any number of stuffing packets should get properly ignored.

 I don't have any actual streams with teletext to test on, so feel free to
 make any corrections necessary for real data.

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


More information about the mythtv-commits mailing list