
mythtv at cvs
Dec 13, 2007, 2:05 PM
Post #1 of 3
(353 views)
Permalink
|
|
Ticket #4325: black lines in most teletext-pages
|
|
#4325: black lines in most teletext-pages -----------------------+---------------------------------------------------- Reporter: anonymous | Owner: ijr Type: defect | Status: new Priority: minor | Milestone: unknown Component: mythtv | Version: head Severity: medium | Mlocked: 0 -----------------------+---------------------------------------------------- 2 lines are most time show as black lines in teletext-pages. This effects are not happens with the following changes: --- libs/libmythtv/avformatdecoder.cpp (Revision 14891) +++ libs/libmythtv/avformatdecoder.cpp (Arbeitskopie) @@ -2471,21 +2471,21 @@ const uint8_t *buf = pkt->data; const uint8_t *buf_end = pkt->data + pkt->size; - while (buf < buf_end) { if (*buf == 0x10) + { buf++; // skip - + } if (*buf == 0x02) { - buf += 3; - ttd->Decode(buf+1, VBI_DVB); + ttd->Decode(buf+4, VBI_DVB); + buf += 46; } else if (*buf == 0x03) { - buf += 3; - ttd->Decode(buf+1, VBI_DVB_SUBTITLE); + ttd->Decode(buf+4, VBI_DVB_SUBTITLE); + buf += 46; } else if (*buf == 0xff) { @@ -2502,9 +2519,8 @@ else { VERBOSE(VB_VBI, QString("VBI: Unknown descriptor: %1").arg(*buf)); + buf += 46; } - - buf += 43; } } -- Ticket URL: <http://svn.mythtv.org/trac/ticket/4325> MythTV <http://svn.mythtv.org/trac> MythTV _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|