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: last GOP dont have audio track #51

Merged
merged 1 commit into from
Apr 1, 2019
Merged

Conversation

xiaoyuhen
Copy link
Contributor

@xiaoyuhen xiaoyuhen commented Apr 1, 2019

fix: last GOP dont have audio track

Description

if the last GOP dont have audio track, we dont need append audio sourcebuffer.

for now, if we append audio sourcebuffer, we will get this error. see #45

How Has This Been Tested?

  • this video can play normal
  • the example video can play normal

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@codecov-io
Copy link

codecov-io commented Apr 1, 2019

Codecov Report

Merging #51 into master will decrease coverage by 0.12%.
The diff coverage is 10%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   52.99%   52.86%   -0.13%     
==========================================
  Files         123      123              
  Lines        1672     1678       +6     
==========================================
+ Hits          886      887       +1     
- Misses        786      791       +5
Impacted Files Coverage Δ
packages/griffith-mp4/src/mse/controller.js 0% <0%> (ø) ⬆️
.../griffith-mp4/src/mp4/utils/getFragmentPosition.js 0% <0%> (ø) ⬆️
...kages/griffith-mp4/src/mp4/utils/getBufferStart.js 80% <50%> (-2.61%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac64d8a...679fcdf. Read the comment docs.

@xiaoyuhen xiaoyuhen merged commit 67d37bb into zhihu:master Apr 1, 2019
@xiaoyuhen xiaoyuhen added the bug🐛 Something isn't working label Apr 1, 2019
@xiaoyuhen xiaoyuhen deleted the audio branch April 1, 2019 08:23
@xiaoyuhen xiaoyuhen mentioned this pull request Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants