Skip to content

Commit

Permalink
mythccextractor: Skip teletext page headers
Browse files Browse the repository at this point in the history
  • Loading branch information
natanojl committed Jan 3, 2013
1 parent 018691f commit 9519a10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/mythccextractorplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ void MythCCExtractorPlayer::Process708Captions(uint flags)
static QStringList to_string_list(const TeletextSubPage &subPage)
{
QStringList content;
for (int i = 0; i < 25; ++i)
// Skip the page header (line 0)
for (int i = 1; i < 25; ++i)
{
QString str = decode_teletext(subPage.lang, subPage.data[i]).trimmed();
if (!str.isEmpty())
Expand Down

0 comments on commit 9519a10

Please sign in to comment.