-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Release v2 r2.19.0 #11241
Merged
Merged
Release v2 r2.19.0 #11241
Conversation
This file contains 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
PiperOrigin-RevId: 526086973
`prepare()` now logs a warning if it's called before `setPlayer()` because it's not possible to tell if it's being called on the wrong thread (since androidx/media@3480a27). This change finds all the places one is called immediately after the other and flips the order to be more correct. Issue: androidx/media#350 #minor-release PiperOrigin-RevId: 526582294
PiperOrigin-RevId: 525690361
PiperOrigin-RevId: 525693833
Creates a way for apps to provide their EGLContext to DefaultVideoFrameProcessor, so that we can attach their context to the one we create. See [the EGL docs for more information about how contexts are shared in GL](https://registry.khronos.org/EGL/sdk/docs/man/html/eglCreateContext.xhtml) PiperOrigin-RevId: 525708652
PiperOrigin-RevId: 525734520
PiperOrigin-RevId: 525756451
PiperOrigin-RevId: 525761936
Whenever a frame is queued to the shader, it's guaranteed that there will be a subsequent `onInputFrameProcessed` callback, so we can pass on the end-of-stream signal there. PiperOrigin-RevId: 525850141
If the limited number of input buffers causes reading of all samples except the last one conveying end of stream, then the last frame will not be rendered. PiperOrigin-RevId: 525974445
This simplifies the addition of new fields in the future. Also do some misc clean up for the volume limit values: - Add some documentation to mention assumed defaults - Add the IntRange annotations to match the ones we have in Player already - Mention the limits in the relevant Player methods - Avoid bundling default values - Improve range checks for masking in MediaController PiperOrigin-RevId: 526029619
*** Original commit *** Bump Guava version to 31.1 *** PiperOrigin-RevId: 526046600
And forward the id to the VolumeProviderCompat and read it from the platform MediaController for compatibility. PiperOrigin-RevId: 526046892
The constructor is removed in 6dcb018. PiperOrigin-RevId: 526068585
PiperOrigin-RevId: 526081541
#minor-release PiperOrigin-RevId: 526082823
PiperOrigin-RevId: 526086973
`prepare()` now logs a warning if it's called before `setPlayer()` because it's not possible to tell if it's being called on the wrong thread (since 9d028b3). This change finds all the places one is called immediately after the other and flips the order to be more correct. Issue: androidx/media#350 #minor-release PiperOrigin-RevId: 526582294
This more closely matches the equations in equations 7-61 and 7-62 in See H.265/HEVC (2014) section 7.4.8.
This implicitly fixes a bug by removing the buggy implementation in H265Reader in favour of a working one. This change also adds tests to confirm the parsing bug is fixed.
To consistent with the other callsites of NalUnitUtil for parsing H265 SPS
Also clean-up a comment about skipping the NAL start code
PiperOrigin-RevId: 526595567
*** Original commit *** Rollback of f92a9a6 *** Original commit *** Bump Guava version to 31.1 *** *** PiperOrigin-RevId: 526601244
PiperOrigin-RevId: 526642898
PiperOrigin-RevId: 535554628 (cherry picked from commit 8ba6b12)
With this change we will now support loading bitmaps from all the formats documented [here](https://developer.android.com/guide/topics/media/media-formats#image-formats) except for gifs (because they are animated). Java doc is added to express this. PiperOrigin-RevId: 535610152 (cherry picked from commit 7740ccc)
… of `LocalConfiguration`. Deprecated field `MediaItem.playbackProperties` remains for backwards compatibility, but its type is changed from `MediaItem.PlaybackProperties` to `MediaItem.LocalConfiguration`. The private `MediaItem` constructor will now also take in a `LocalConfiguration` argument instead. PiperOrigin-RevId: 535648420 (cherry picked from commit b89cc65)
PiperOrigin-RevId: 536351494 (cherry picked from commit ba8b9d1)
This future.get() duplicates the wait done in singleThreadExecutorService.awaitTermination(). If awaitTermination times out, this future.get() would also result in unnecessary blocking. PiperOrigin-RevId: 536442153 (cherry picked from commit d7f4fea)
Otherwise, texture output errors out if video decoding decodes faster than audio, hitting the end of the file, while audio is still in the middle of the file. PiperOrigin-RevId: 536679568 (cherry picked from commit 2ff8b44)
In some cases the codec selected for decoding has a different MIME type than the media. In thoses cases Transformer continued to use the media's MIME type and that caused codec configuration failures. Removed `EncoderUtil.findCodecForFormat()` as we stopped using the method it uses for finding a codec. Plus, the method is only used in the test. See also `MediaCodecUtil.getALternativeCodecMimeType()`. PiperOrigin-RevId: 536683663 (cherry picked from commit fedd99b)
#minor-release PiperOrigin-RevId: 536724725 (cherry picked from commit 792aa72)
PiperOrigin-RevId: 536727079 (cherry picked from commit a8baf21)
PiperOrigin-RevId: 536770380 (cherry picked from commit 11c52d2)
PiperOrigin-RevId: 537014587 (cherry picked from commit 8166b35)
Previously, we would apply a general effect to signal wanting to transcode. PiperOrigin-RevId: 537034455 (cherry picked from commit fb032f0)
ExoPlayer extractors (backing `MetadataRetriever`) now parse the color format from the bitstream so using `MetadataRetriever` should be an equivalent but more lightweight way to verify the color info. Also remove try/catch blocks in test code calling into these methods, and add skipping based on decoder capabilities in the cases where it was missing. PiperOrigin-RevId: 537789483 (cherry picked from commit 88db011)
PiperOrigin-RevId: 537814319 (cherry picked from commit 6893939)
More info, including a script to help with the migration: https://developer.android.com/guide/topics/media/media3/getting-started/migration-guide PiperOrigin-RevId: 540345728 (cherry picked from commit af1b9f6)
#minor-release Issue: androidx/media#452 PiperOrigin-RevId: 539915277 (cherry picked from commit 73fda2f)
#minor-release PiperOrigin-RevId: 540517113 (cherry picked from commit 350ced2)
#minor-release PiperOrigin-RevId: 542565180 (cherry picked from commit 7aa13a4)
#minor-release PiperOrigin-RevId: 542881427 (cherry picked from commit b9d289f)
#minor-release PiperOrigin-RevId: 543369900 (cherry picked from commit fb6a496)
#minor-release PiperOrigin-RevId: 543393737 (cherry picked from commit 7676709)
PiperOrigin-RevId: 541640959 (cherry picked from commit 3f991f6)
This pull request was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.