Skip to content

Commit

Permalink
Suppress some extended uncode characters in 608 caption debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed May 25, 2012
1 parent 6dbdc91 commit fb2be2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/libs/libmythtv/cc608decoder.cpp
Expand Up @@ -684,8 +684,10 @@ QString CC608Decoder::ToASCII(const QString &cc608str, bool suppress_unknown)
if (!suppress_unknown)
ret += QString("[%1]").arg(cpu - 0x7000, 2, 16);
}
else
else if (cpu >= 0x20 && cpu <= 0x80)
ret += QString(cp.toLatin1());
if (!suppress_unknown)
ret += QString("[%1]").arg(cpu - 0x7000, 2, 16);
}
}

Expand Down

0 comments on commit fb2be2e

Please sign in to comment.