Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Ignore nit #284

Closed
wants to merge 3 commits into from
Closed

Ignore nit #284

wants to merge 3 commits into from

Conversation

dmlap
Copy link
Member

@dmlap dmlap commented May 27, 2015

Cherry-picked and rebased version of the NIT fix in #279. Also, added handling for PCR PIDs so that a bunch of spurious warnings aren't generated.

@mikrohard I updated your change so that console warnings wouldn't be generated for NIT packets. This still look good to you?

mikrohard and others added 3 commits May 27, 2015 17:11
When a NIT was present, we would warn about unrecognized PIDs every time it was encountered. Capture the PID value so we can silently ignore it. Add a test case for NIT parsing.
We don't need a PCR stream for a program to keep synchronized but it's not a problem if one is included. Parse out the PCR PID when it's specified and make sure the warning message isn't output when they are encountered.
@mikrohard
Copy link
Contributor

It looks good as far as I'm able to say be just looking at it. Will do a runtime test tomorrow...

@mikrohard
Copy link
Contributor

I can confirm that it works the way it should. Great job!

@dmlap dmlap closed this in 1f1993b May 28, 2015
@dmlap dmlap deleted the ignore-nit branch May 28, 2015 20:55
@dmlap dmlap restored the ignore-nit branch May 28, 2015 20:58
@dmlap dmlap mentioned this pull request May 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants