Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CEA-708 Decoder fixes for issue #1807 (Refactoring the PR #8356) #8415

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

sneelavara
Copy link
Contributor

@sneelavara sneelavara commented Dec 31, 2020

This pull request is for issue #1807. Refactoring the PR #8356

In this change -

  1. Handling the sequence number discontinuity in caption channel packet header.

  2. The processCurrentPacket returns if the packet length does not match with the currentIndex. That assumption is wrong. As per spec the the packet can end on reception of next cc_type = 0x3.

In this change -

Handling the sequence number discontinuity in caption channel packet header.

The processCurrentPacket returns if the packet length does not match with the currentIndex. That assumption is wrong. As per spec the the packet can end on reception of next cc_type = 0x3.
@google-cla google-cla bot added the cla: yes label Dec 31, 2020
sneelavara added a commit to TiVo/ExoPlayer that referenced this pull request Dec 31, 2020
The handling sequence discontinuity and the packet with size less the packet_size is separated out to another PR google#8415
@icbaker icbaker self-assigned this Jan 5, 2021
@icbaker
Copy link
Collaborator

icbaker commented Jan 8, 2021

Thanks for splitting this out of the larger PR - this is much easier to review (and thanks also for the references to the spec, very helpful).

You sent through a number of test streams - are there any specific ones that I can use to verify this change in particular? i.e. something that clearly fails before this change and succeeds after it?

I tried the first one but it seems unaffected by this change.

@sneelavara
Copy link
Contributor Author

@icbaker thank you for looking at this PR. I have sent an e-mail to dev.exoplayer@gmail.com with subject Issue #1807 at Jan 8, 2021, 6:58 PM
There are two streams provided in the mail to validate the two items from this PR.

The stream which has the packet length set to 128 bytes but actual packet length shorter than that, unfortunately requires to be tested with the changes from PR #8356 to get the right caption displayed. If you are testing the changes from this PR alone, that simply displays few character with only one row, where as the actual caption has 4 rows.

@sneelavara sneelavara requested a review from icbaker January 9, 2021 03:07
@kim-vde kim-vde merged commit 26ea43d into google:dev-v2 Jan 22, 2021
@google google locked and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants