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

Fix tracking of successfully read bytes in oggreader #2791

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

Kostassoid
Copy link

@Kostassoid Kostassoid commented Jun 24, 2024

This is a one-liner fix for tracking bytesReadSuccesfully in oggreader. Currently, it's never updated so it remains at 0 even after reading pages successfully. As a result, it's impossible to use oggreader in a streaming context.

@Sean-Der, could you please help with reviewing/merging this one?

Copy link
Member

@edaniels edaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (1bb9fa9) to head (1b1c298).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2791   +/-   ##
=======================================
  Coverage   78.99%   78.99%           
=======================================
  Files          87       87           
  Lines        8203     8204    +1     
=======================================
+ Hits         6480     6481    +1     
  Misses       1256     1256           
  Partials      467      467           
Flag Coverage Δ
go 80.62% <100.00%> (+<0.01%) ⬆️
wasm 64.49% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@edaniels edaniels merged commit fc3521e into pion:master Jun 25, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants