[Zapping-misc] Patch to fix display of mixed normal/italic closed captions in 0.2.33
Status: Alpha
Brought to you by:
mschimek
From: faginbagin <my...@hb...> - 2012-12-08 06:02:34
|
I just submitted a patch here: https://sourceforge.net/tracker/?func=detail&aid=3593886&group_id=2599&atid=302599# Details: Fixes the handling of Preamble Address Codes, Tab Offsets and Mid-Row Codes to match the behavior described in "Code of Federal Regulations (annual edition). Title 47: Telecommunication. Subpart B: Unintentional Radiators. Saturday, October 1, 2011, Section 15.119", which can be found here: http://www.gpo.gov/fdsys/pkg/CFR-2011-title47-vol1/pdf/CFR-2011-title47-vol1-sec15-119.pdf According to this document, Preamble Address Codes and Tab Offsets are non-destructive, and Mid-Row Codes are "spacing attributes which appear in the display just as if a standard space (20h) had been received" Without this patch, libzvbi's handling of Preamble Address Codes and Tab Offsets overwrite the characters between the current position and destination, and Mid-row codes do not insert a displayable space and do not advance the cursor. These problems are most noticeable with closed captions that mix normal and italic text on a single line. This patch also includes fixes required to compile 0.2.33 on debian/ubuntu distributions. See Debian bug report #602880 here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602880 FWIW, the code is available at: https://github.com/faginbagin/libzvbi-obe-dev It is a fork of the git repo announced back in June 2011 by Kieran Kunhya for the Open Broadcast Encoder project. Regards, Helen |