Permalink
Browse files

mythccextractor: Skip teletext page headers

  • Loading branch information...
1 parent 018691f commit 9519a103da6ad8dc589042fbda4fdfe4e1a2fca8 @natanojl natanojl committed Jan 3, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/libs/libmythtv/mythccextractorplayer.cpp
@@ -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())

0 comments on commit 9519a10

Please sign in to comment.