Opened 16 years ago

Closed 14 years ago

#4325 closed patch (fixed)

black lines in most teletext-pages

Reported by: anonymous Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: MythTV - Video Playback Version: head
Severity: medium Keywords: black lines in teletext
Cc: Ticket locked: no

Description

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;

}

}

Change History (2)

comment:1 Changed 15 years ago by stuartm

Component: mythtvMythTV - Video Playback
Priority: minormajor
Type: defectpatch

comment:2 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

Something like this has already been applied to trunk.

Note: See TracTickets for help on using tickets.