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: Only parse/probe TS if the reference is not an MP4 and not WebM #5381

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

baconz
Copy link
Contributor

@baconz baconz commented Jun 29, 2023

We see a bunch of audio segments that probe as TS, and thus trigger warnings (and unnecessary work) in appendBuffer. There should never be an MP4 mime type that probes successfully as a TS, right?

Here's an example fmp4 that probes as a TS (ignore the isma file extension).

@baconz baconz changed the title Only parse/probe TS for if the reference is not an MP4 fix: Only parse/probe TS if the reference is not an MP4 Jun 29, 2023
@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Jun 29, 2023
@avelad avelad requested review from joeyparrish, avelad and theodab June 29, 2023 20:16
joeyparrish
joeyparrish previously approved these changes Jun 29, 2023
Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

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

Thank you!

@joeyparrish
Copy link
Member

Assuming no test failures, I'll merge as soon as the tests are complete.

@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

Copy link
Member

@avelad avelad left a comment

Choose a reason for hiding this comment

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

I think that we need improve it for webm also

@joeyparrish
Copy link
Member

So it should be "not mp4 && not webm"?

@avelad
Copy link
Member

avelad commented Jun 29, 2023

So it should be "not mp4 && not webm"?

I think so

@baconz baconz force-pushed the fix_unnecessary_ts_parse branch from e3f16a0 to 6fbb30c Compare June 29, 2023 20:53
@baconz baconz changed the title fix: Only parse/probe TS if the reference is not an MP4 fix: Only parse/probe TS if the reference is not an MP4 and not WebM Jun 29, 2023
@joeyparrish joeyparrish merged commit b1e7cc4 into shaka-project:main Jun 29, 2023
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Aug 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants