- 07 Mar, 2023 15 commits
-
-
To create this file TextureInfo has been moved to common and renamed to GLTextureInfo. We'll look to expand the interface in future to cover more of the methods around GL object maintenance in future as required. PiperOrigin-RevId: 514445397
tofunmi committed -
This clarifies that a SequenceAssetLoader loads data corresponding to an EditedMediaItemSequence. PiperOrigin-RevId: 514442681
kimvde committed -
PiperOrigin-RevId: 514436359
tofunmi committed -
PiperOrigin-RevId: 514431184
tofunmi committed -
- This is to make sure we know about all the tracks before initializing the SamplePipelines. This allows to set the muxer and the fallback listener track count before the SamplePipelines are built. - As a result, the test files had to be updated because the order in which the tracks are written has changed. - The ImageAssetLoader also had to be updated to call onOutputFormat repeatedly until it returns a non-null SampleConsumer. - Also fix the trackCount sent to the muxer and fallback listener. The correct track count can be computed now that we know about all the tracks before building the SamplePipelines. PiperOrigin-RevId: 514426123
kimvde committed -
Before, we used to never call glDeleteFramebuffers, which could in theory lead to leaks in the number of frame buffers available and make releasing the GL context more expensive. PiperOrigin-RevId: 514387847
huangdarwin committed -
PiperOrigin-RevId: 514375835
sheenachhabra committed -
Issue: google/ExoPlayer#11031 #minor-release PiperOrigin-RevId: 514366016
ibaker committed -
Dackka generates a warning if a method has at least one `@param` tag, but not all of them are documented. #minor-release PiperOrigin-RevId: 513873453
ibaker committed -
This is now a much more 'internal' component, and there's no way to register one directly on a `Player` instance. Issue: androidx/media#258 #minor-release PiperOrigin-RevId: 513849776
ibaker committed -
The `@CallSuper` annotation should help catch cases where subclasses are calling `delegate.addListener` instead of `super.addListener` but it will also (unintentionally) prevent subclasses from either completely no-opping the listener registration, or implementing it themselves in a very custom way. I think that's probably OK, since these cases are probably unusual, and they should be able to suppress the warning/error. Issue: androidx/media#258 #minor-release PiperOrigin-RevId: 513848402
ibaker committed -
PiperOrigin-RevId: 513824487
tofunmi committed -
All audio tracks should either all be transcoded or all be transmuxed. Same for video tracks. To achieve this, simplify the behaviour of transmuxAudio/Video. PiperOrigin-RevId: 513809287
kimvde committed -
TI can use this Format as part of creating the SamplePipelines. PiperOrigin-RevId: 513777622
samrobinson committed -
Renamed MuxerEndToEndTest.java to Mp4MuxerEndToEndTest.java to align it with class under test. Removed muxed prefix from dump file name because Mp4 implicitely means muxed only. PiperOrigin-RevId: 513574681
sheenachhabra committed
-
- 03 Mar, 2023 2 commits
- 02 Mar, 2023 23 commits
-
-
#minor-release PiperOrigin-RevId: 513555559
tonihei committed -
#minor-release PiperOrigin-RevId: 513533248
tonihei committed -
PiperOrigin-RevId: 513529059
andrewlewis committed -
This implements `GlShaderProgram` (and is GL-specific). PiperOrigin-RevId: 513528160
andrewlewis committed -
PiperOrigin-RevId: 513516267
tonihei committed -
PiperOrigin-RevId: 513514142
samrobinson committed -
#minor-release PiperOrigin-RevId: 513488487
tonihei committed -
PiperOrigin-RevId: 513482096
tonihei committed -
Add some additional information which methods to override for available commands. #minor-release PiperOrigin-RevId: 513251805 (cherry picked from commit a64a9e67)
christosts committed -
#minor-release PiperOrigin-RevId: 512897269 (cherry picked from commit 48047cf9)
christosts committed -
Once the value returned from AudioTimestampPoller advances, we only need getPlaybackHeadPosition to sample sync params and verify the returned timestamp. Both of these happen less often and we can avoid calling getPlaybackHeadPosition if we don't actually need it. PiperOrigin-RevId: 512882170 (cherry picked from commit 4cf7d3c7)
tonihei committed -
Playback parameter signalling can be quite complex because (a) the renderer clock often has a delay before it realizes that it doesn't support a previously set speed and (b) the speed set on media clock sometimes intentionally differs from the one surfaced to the user, e.g. during live speed adjustment or when overriding ad playback speed to 1.0f. This change fixes two problems related to this signalling: 1. When resetting the media clock speed at a period transition, we don't currently tell the renderers that this happened. 2. When a delayed speed change update from the media clock is pending and the renderer for this media clock is disabled before the change can be handled, the pending update becomes stale but it still applied later and overrides any other valid speed set in the meantime. Both edge cases are also covered by extended or new player tests. Issue: google/ExoPlayer#10882 PiperOrigin-RevId: 512658918 (cherry picked from commit d3639771)tonihei committed -
PiperOrigin-RevId: 513289716
tofunmi committed -
Used an actual captured image with set color profile for test to minimise the chance of the test flaking. Also renamed the media/bitmap/overlay folder to media/bitmap/input_images for clarity. PiperOrigin-RevId: 513273353
tofunmi committed -
If the Metadata passed to SegmentSpeedProvider is null, then the SegmentSpeedProvider will always return 1f from getSpeed. Initializing a SpeedChangingAudioProcessor requires a SpeedProvider. Once configured,this audioProcessor is always active, so buffers are passed through it. Because getSpeed is always 1, the processor performs a no-op, but still has to do a buffer copy for each buffer. By not initializing the audio processor when metadata is null, this copy can be skipped and the audio pipeline is more performant. Note: This change does not affect the multiple media-item case, which is not supported with speed changes, as per Transformer API documentation. PiperOrigin-RevId: 513261811
samrobinson committed