Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Suppress some extended uncode characters in 608 caption debug output.

  • Loading branch information...
commit fb2be2ecdad48d4721fe10c2b25b40a87b1c5d1a 1 parent 6dbdc91
@daniel-kristjansson daniel-kristjansson authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 mythtv/libs/libmythtv/cc608decoder.cpp
View
4 mythtv/libs/libmythtv/cc608decoder.cpp
@@ -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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.