﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9577	CEA-708 captions sometimes spontaneously reset	Clayton Smith <argilo@…>	danielk	"Sometimes the CEA-708 closed caption decoder resets the caption display spontaneously, making the captions unreadable.  Upon investigation, I found that the code which detects reset (RST) and delay cancel (DLC) commands in the parse_cc_service_stream function is incorrect.  It should only inspect command bytes, but it actually scans parameter bytes as well.  These parameter bytes may coincide with RST and DLC, causing an undesired reset in the former case, or a premature delay cancel in the latter.

To solve this problem, I added code to skip over parameter bytes.  The list of commands and their corresponding number of parameter bytes were taken from the CEA-708 specification.  I tested the code on a number of shows, and it now correctly skips over parameter bytes (verified with printf debugging), and the spontaneous resets are gone."	Patch - Bug Fix	closed	minor	0.25	MythTV - ATSC	0.24-fixes	medium	fixed	cea-708		0
