[mythtv-commits] Ticket #4325: black lines in most teletext-pages
MythTV
mythtv at cvs.mythtv.org
Thu Dec 13 22:05:20 UTC 2007
#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
More information about the mythtv-commits
mailing list