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

Go to next input when in the root of the list #28

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

lars18th
Copy link
Contributor

@lars18th lars18th commented Jul 9, 2018

When rotating over the list of inputs, you traverse the root of the list. This is an empty node, so you need to advance to the next element.

So, without this code a SEVERE bug exists inside the muxing task: Every time you go over the root of the list, then a NULL padding packet is inserted in the output. This consumes around 1/N of the bandwith (where N is the number of inputs). This patch fixes the bug and no padding is inserted when data is in the input buffer.

When rotating over the list of inputs, you traverse the root of the list. This is an empty node, so you need to advance to the next element.
@lars18th lars18th mentioned this pull request Jul 9, 2018
SourceDoctor added a commit to SourceDoctor/mptsd that referenced this pull request Sep 7, 2022
@gfto gfto merged commit 500cbfd into gfto:master Mar 13, 2024
@lars18th lars18th deleted the input-list-bug branch March 13, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants