- 14 May, 2020 6 commits
-
-
This allows properties to propagate when switching view types (e.g. bottomPaddingFraction). It also allows the style-stripping code to be pushed up to SubtitleView and therefore shared. PiperOrigin-RevId: 310353534
ibaker committed -
PiperOrigin-RevId: 310332895
samrobinson committed -
PiperOrigin-RevId: 310332708
ibaker committed -
Fixes AsynchronousMediaCodecBufferEnqueuerTest broken tests by enqueueing input buffers that have previously been dequeued from the MediaCodec. The test assumes that the shadow MediaCodec implementation can dequeue at least 10 input buffers before queueing them back. Although fragile, it seems to work with the current robolectric shadow MediaCodec. This is at the moment preferred compared to making the test more complicated. PiperOrigin-RevId: 310325096
christosts committed -
Change CastPlayer#getTrackSelector to return null instead of throwing exception. PiperOrigin-RevId: 310319964
insun committed -
PiperOrigin-RevId: 310242733
insun committed
-
- 06 May, 2020 11 commits
-
-
PiperOrigin-RevId: 310199693
krocard committed -
Some part of the audio pipeline in the DefaultAudioSink (PCM processors) are expecting little endian buffers. As a result, in order to behave like MediaCodec, make sure the passthrough MediaCodec-bypass pipeline also processes little endian output buffers. PiperOrigin-RevId: 310172464
krocard committed -
This aligns mkv with mp4, flv and ts extractors. This issue was found when AAC in an MKV container was not offloaded as format.codecs was null. PiperOrigin-RevId: 310170759
krocard committed -
#exo-offload PiperOrigin-RevId: 310150780
krocard committed -
Part of issue:#6765 PiperOrigin-RevId: 310143494
ibaker committed -
Previously the input format values were used, but it could be incorrect if two format change were occurring in quick successions. PiperOrigin-RevId: 310142675
krocard committed -
PiperOrigin-RevId: 310142362
krocard committed -
PiperOrigin-RevId: 310115628
Oliver Woodman committed -
PiperOrigin-RevId: 310114401
olly committed -
These methods operate on a thread-safe collection and are thus inherently thread-safe. This simplifies some player setup configurations where initial listeners are added on a background thread (e.g. when using a dependency injection framework). PiperOrigin-RevId: 310113181
tonihei committed -
Users of addTextOutput should instead query the current cues if they need them. This is more consistent with how other listeners are handled. PiperOrigin-RevId: 310112241
tonihei committed
-
- 05 May, 2020 22 commits
-
-
We currently have DecoderVideoRenderer and VideoDecoderRenderer, which is very confusing! This one is package private, so we can rename it to remove some of the confusion. Also fix some nullness issues. PiperOrigin-RevId: 309964088
olly committed -
PiperOrigin-RevId: 309963490
Oliver Woodman committed -
PiperOrigin-RevId: 309949800
bachinger committed -
In passthrough MediaCodec is not used except if the format has a DRM. Nevertheless the code was still requiring that a passthrough decoder be present even if it was not going to be used (aka no drm). PiperOrigin-RevId: 309947271
krocard committed -
A silly mistake of confusing a fractional float with a percentage. PiperOrigin-RevId: 309946004
ibaker committed -
PiperOrigin-RevId: 309944716
aquilescanta committed -
- Fix DecoderAudioRenderer to re-init codec if the DRM session changes. - Add canKeepCodec to DecoderVideoRenderer. Previously it was assumed that the decoder could be re-used, but this will not be true in all cases for FfmpegVideoRenderer. Issue: #7079 PiperOrigin-RevId: 309935278
olly committed -
If the condition isn't fulfilled, they currently block until the test runner times out the test. Our usual approach is to timeout in the test itself so that the error message is clearly showing the blocked condition. Also clean-up some documentation. PiperOrigin-RevId: 309930198
tonihei committed -
PiperOrigin-RevId: 309925306
samrobinson committed -
Now that MediaCodec is not use in passthrough, no MediaCodec should be created in this mode. Additionally, do not instantiate a MediaCodec in passthrough #exo-offload PiperOrigin-RevId: 309916131
krocard committed -
issue:#6429 PiperOrigin-RevId: 309906760
andrewlewis committed -
PiperOrigin-RevId: 309899166
aquilescanta committed -
Issue: #7309 PiperOrigin-RevId: 309749566
aquilescanta committed -
PiperOrigin-RevId: 309746009
olly committed -
PiperOrigin-RevId: 309735092
andrewlewis committed -
These tests require longer content so that the ads are spaced apart far enough to trigger preloading while content is playing (rather than immediately as soon as a position is reported). PiperOrigin-RevId: 309733826
andrewlewis committed -
Also clean up naming of test ads responses. PiperOrigin-RevId: 309728625
andrewlewis committed -
PiperOrigin-RevId: 309720018
tonihei committed -
PiperOrigin-RevId: 309710359
olly committed -
PiperOrigin-RevId: 309709215
tonihei committed -
And allow default value constant to be assigned as valid value. PiperOrigin-RevId: 309708888
tonihei committed -
We currently call the old (deprecated) from the new one and not the other way round. Also remove a duplicated method. PiperOrigin-RevId: 309702752
tonihei committed
-
- 04 May, 2020 1 commit
-
-
With sample prepare (non-chunkless) the `Format` object in the TrackGroup is derived from the data in the stream and data in the manifest. This change includes the roleFlags from the HLS manifest parse in the final derived format.
Steve Mayhew committed
-