ibaker
5c42c25ad3
Remove deprecated zero-arg DefaultTrackSelector constructor
...
Use `DefaultTrackSelector(Context)` instead.
#minor-release
PiperOrigin-RevId: 533985937
(cherry picked from commit 2b409da881 )
2023-05-26 13:25:07 +00:00
jbibik
992c9aa470
Make DrmConfiguration Bundleable
...
PiperOrigin-RevId: 533721679
(cherry picked from commit 5008417c8c )
2023-05-26 13:25:07 +00:00
sheenachhabra
d40f37158a
Move MdtaMetadataEntry class into container module
...
This class is to be shared between extractor, transformer
and muxer module.
PiperOrigin-RevId: 533490888
(cherry picked from commit b382a7c2da )
2023-05-26 13:25:07 +00:00
bachinger
b066a0912e
Set video size to 0/0 when video render is disabled
...
In terms of MCVR with a `VideoRendererEventListener`, the video size is set to
0/0 right after `onVideoDisabled()` is called and is set to the actual size as
soon as the video size is known after 'onVideoEnabled()`.
For ExoPlayer and in terms of the `Player` interface, `Player.getVideoSize()`
returns a video size of 0/0 when `Player.getCurrentTracks()` does not support
`C.TRACK_TYPE_VIDEO`. This is ensured by the masking behavior of
`ExoPlayerImpl` that sets an empty track selection result when the playing
period changes due to a seek or timeline removal.
When transitioning playback from a video media item to the next, or when
seeking within the same video media item, the renderer is not disabled.
#minor-release
PiperOrigin-RevId: 533479600
(cherry picked from commit 2a6f893fba )
2023-05-26 13:25:07 +00:00
Tofunmi Adigun-Hameed
c3dd88d715
Merge pull request #335 from cedricxperi:dts-direct-passthrough-support
...
PiperOrigin-RevId: 535255453
2023-05-25 15:13:38 +00:00
ibaker
41b19df5fa
Add sections for each minor release to RELEASENOTES.md
...
#minor-release
PiperOrigin-RevId: 535240816
2023-05-25 15:12:19 +00:00
Googler
86515f8683
Show the file path of the exported output video.
...
PiperOrigin-RevId: 535233266
2023-05-25 15:11:05 +00:00
tofunmi
a19e07c4d2
Move OnInputFrameProcessedListener into it's own file
...
PiperOrigin-RevId: 535183521
2023-05-25 15:09:36 +00:00
bachinger
ef6772b946
Return full media item when SystemUI calls service on device boot time
...
#minor-release
PiperOrigin-RevId: 533465595
(cherry picked from commit 3fa666c687 )
2023-05-25 10:44:07 +00:00
ibaker
41de418c3d
Remove deprecated ExoPlayer.retry(), use prepare() instead.
...
#minor-release
PiperOrigin-RevId: 533463348
(cherry picked from commit 50112c685b )
2023-05-25 10:44:07 +00:00
ibaker
7934eaf882
Add logging where we were swallowing failed futures in media3.session
...
This may not be completely exhaustive, but it's better than before!
#minor-release
PiperOrigin-RevId: 533457167
(cherry picked from commit fe19dc421d )
2023-05-25 10:44:07 +00:00
ibaker
c26659184c
Add empty headings to the 'unreleased changes' section of release notes
...
PiperOrigin-RevId: 533403520
(cherry picked from commit 0e09c0041f )
2023-05-25 10:44:07 +00:00
claincly
1f8caa508f
Add a getter method for texture manager
...
PiperOrigin-RevId: 533402277
(cherry picked from commit d7ad431cfc )
2023-05-25 10:44:07 +00:00
tonihei
5e98c938c0
Add FilteringMediaSource that only provides tracks of given types
...
This is useful for cases where only certain types (e.g. only video)
from a source are needed and other tracks should be filtered out
completely to avoid later track selection issues.
#minor-release
PiperOrigin-RevId: 533394658
(cherry picked from commit c44b3828ca )
2023-05-25 10:44:07 +00:00
huangdarwin
3ac01d43dd
Effect: Use callback to release texture
...
This allows us to avoid needing a reference to the VideoFrameProcessor, which
can be especially difficult if an App only has a reference to the
VideoFrameProcessor.Factory it passes into Transformer/ExoPlayer.
PiperOrigin-RevId: 533205983
(cherry picked from commit 25fa2df2de )
2023-05-25 10:44:07 +00:00
ibaker
2b53139c5f
Allow mock(Random.class) to work with Java 17
...
https://stackoverflow.com/questions/70993863/mockito-can-not-mock-random-in-java-17
#minor-release
PiperOrigin-RevId: 533161221
(cherry picked from commit 04106da932 )
2023-05-25 10:44:07 +00:00
jbibik
9c1a80082f
Use TestUtil.getPublicMethods instead of getDeclaredMethods
...
JaCoCo introduces private synthetic methods (even on interfaces) which
have to be skipped when checking that a 'forwarding' implementation does
forward everything. Instead we can use the existing `getPublicMethods()`
method which implicitly skips these (since they're private).
PiperOrigin-RevId: 533130932
(cherry picked from commit 620b9e1540 )
2023-05-25 10:44:07 +00:00
sheenachhabra
400218c018
Add argument validation in Mp4LocationData
...
PiperOrigin-RevId: 533121451
(cherry picked from commit 209783bdf2 )
2023-05-25 10:44:07 +00:00
claincly
dd425d53c9
Always use sRGB/BT.709 for bitmap inputs
...
PiperOrigin-RevId: 533117700
(cherry picked from commit 24a4396990 )
2023-05-25 10:44:07 +00:00
Tianyi Feng
730cfecd57
Make the API 34 check inline and refactor the comment
2023-05-25 09:58:07 +00:00
Tianyi Feng
f301214a1e
Refactor the comment
2023-05-25 09:58:07 +00:00
Tianyi Feng
fb34983bb7
Format with google-java-format
2023-05-25 09:58:07 +00:00
Tianyi Feng
48509df714
Quick return the capabilities for API29 TV case
2023-05-25 09:58:07 +00:00
Tianyi Feng
ea32f11292
Refactor the methods and reword the comments
2023-05-25 09:58:07 +00:00
Tianyi Feng
9d147f2227
Adjust the comment lines
2023-05-25 09:58:07 +00:00
Tianyi Feng
f69718e5ad
Fix the lint issues
2023-05-25 09:58:07 +00:00
Tianyi Feng
162f5e827a
Add type argument when using ImmutableSet
2023-05-25 09:58:07 +00:00
Tianyi Feng
b9a53da121
Refactor AudioCapabilities.getCapabilities
2023-05-25 09:58:07 +00:00
Tianyi Feng
c61f8d317a
Add C.ENCODING_DTS_UHD_P2 to C.Encoding
2023-05-25 09:58:07 +00:00
Tianyi Feng
d0cd2f5f21
Refactor AudioCapabilities.getCapabilities
2023-05-25 09:58:07 +00:00
Tianyi Feng
5a6906a2b6
Add release note
2023-05-25 09:57:48 +00:00
Tianyi Feng
47b0726ea9
Format with google-java-format
2023-05-25 09:55:10 +00:00
Cedric T
424b5d8d0e
Add issue link for AudioCapabilities
2023-05-25 09:55:10 +00:00
Cedric T
cb29e8fb3d
Construct AudioCapabilities with HDMI reported MaxChannelCount.
2023-05-25 09:55:10 +00:00
Cedric T
905ad1ce33
Fixed bug in HDMI reporting logic.
2023-05-25 09:55:10 +00:00
Cedric T
6b4cf4d362
Swap HDMI case and non-HDMI case in AudioCapabilities.
2023-05-25 09:55:10 +00:00
Cedric T
773d3c52f1
Swap empty line in AudioCapabilities.java
2023-05-25 09:55:10 +00:00
Cedric T
53f35f46f5
Use ImmutableSet to store discovered encodings in AudioCapabilities.java
2023-05-25 09:55:10 +00:00
Cedric T
924723d6b3
Additional changes to AudioCapabilities.java and Util.java
2023-05-25 09:55:10 +00:00
Cedric T
b1ac7685bd
Add distinct encodings check before returning AudioCapabilities.
2023-05-25 09:55:10 +00:00
Cedric T
753257e454
Refactor Audio Capabilities
2023-05-25 09:55:10 +00:00
Cedric T
abc46d4319
Rename some variables and change to use ImmutableList.Builder.
2023-05-25 09:55:10 +00:00
Cedric T
f47930e587
Refactor getDirectPlaybackSupportedEncodings()
2023-05-25 09:55:10 +00:00
Cedric T
c984387248
Re-word comments for new DTS Sync words in DtsUtil.java.
2023-05-25 09:55:10 +00:00
Cedric T
b069fb1283
Return Immutable List for getAllSurroundEncodingsMaybeSupported()
2023-05-25 09:55:09 +00:00
Cedric T
689451b0c6
Set AudioCapabilities.DEFAULT_MAX_CHANNEL_COUNT to 10
2023-05-25 09:55:09 +00:00
Cedric T
d01a93b94e
Add getAllSurroundEncodingsMaybeSupported()
2023-05-25 09:55:09 +00:00
Cedric T
3b9d680914
Add comments for DTSUtil.java
2023-05-25 09:55:09 +00:00
Cedric T
c0e03f14a8
Remove skip channelCount check for ENCODING_DTS
2023-05-25 09:55:09 +00:00
Cedric T
6823a2916a
Add C.ENCODING_DTS_UHD_P2
2023-05-25 09:55:09 +00:00