[mythtv-commits] Ticket #7738: Accented characters in EIA-708 (ATSC) closed captions show up as boxes
MythTV
mythtv at cvs.mythtv.org
Sat Dec 12 17:13:32 UTC 2009
#7738: Accented characters in EIA-708 (ATSC) closed captions show up as boxes
----------------------------------------------+-----------------------------
Reporter: Clayton Smith <argilo@…> | Owner: danielk
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - ATSC | Version: head
Severity: medium | Mlocked: 0
----------------------------------------------+-----------------------------
Accented characters in EIA-708 closed captions (on ATSC stations) do not
show up correctly. They appear as boxes.
The underlying problem is sign extension which occurs when characters are
converted from char to ushort in the CCtableG1 array. (For example, the
character 0xE0 becomes 0xFFE0 instead of 0x00E0 when it is converted.)
Attached is a patch which corrects this problem by adding casts to uchar
into the definition of CCtableG1.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7738>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list