REGRESSION(290813@main) [Cocoa] Videos on bleacherreport.com are muted.#42860
Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom Mar 25, 2025
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 20c4cf8) Details |
20c4cf8 to
b172313
Compare
Collaborator
|
EWS run on previous version of this PR (hash b172313) Details |
b172313 to
432ae45
Compare
Collaborator
|
EWS run on previous version of this PR (hash 432ae45) Details |
eric-carlson
approved these changes
Mar 25, 2025
Contributor
There was a problem hiding this comment.
This will assert if a track or media selection option has an empty or unknown language
Contributor
Author
There was a problem hiding this comment.
Good point! I'll remove the assert.
432ae45 to
5dfe1db
Compare
Collaborator
|
EWS run on current version of this PR (hash 5dfe1db) Details |
Collaborator
|
Failed mac-AS-debug-wk2, api-gtk checks. Please resolve failures and re-apply Rejecting #42860 from merge queue. |
Collaborator
|
Safe-Merge-Queue: Build #52489. |
rdar://147271449 https://bugs.webkit.org/show_bug.cgi?id=290225 Reviewed by Eric Carlson. In 290813@main, an AVAssetTrack was always added to AVTrackPrivateAVFObjCImpl when that object was created with an AVMediaSelectionGroup/Option. But because a number of the functions in AVTrackPrivateAVFObjCImpl check first for the presence of an AVAssetTrack, this caused a change in behavior where those AudioTracks created with an AVMediaSelectionGroup/Option no longer had a language. Reverse the if() check to check for a mediaSelectionOption before an assetTrack. * LayoutTests/http/tests/media/hls/hls-audio-tracks-language-expected.txt: Added. * LayoutTests/http/tests/media/hls/hls-audio-tracks-language.html: Added. * Source/WebCore/platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm: (WebCore::AVTrackPrivateAVFObjCImpl::audioKind const): (WebCore::AVTrackPrivateAVFObjCImpl::videoKind const): (WebCore::AVTrackPrivateAVFObjCImpl::textKind const): (WebCore::AVTrackPrivateAVFObjCImpl::index const): (WebCore::AVTrackPrivateAVFObjCImpl::id const): (WebCore::AVTrackPrivateAVFObjCImpl::label const): (WebCore::AVTrackPrivateAVFObjCImpl::language const): Canonical link: https://commits.webkit.org/292648@main
5dfe1db to
39c8c28
Compare
Collaborator
|
Committed 292648@main (39c8c28): https://commits.webkit.org/292648@main Reviewed commits have been landed. Closing PR #42860 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
39c8c28
5dfe1db