- 06 Jul, 2020 3 commits
- 03 Jul, 2020 31 commits
-
-
It applies only to regions: https://www.w3.org/TR/2018/REC-ttml2-20181108/#style-attribute-writingMode PiperOrigin-RevId: 319515547
ibaker committed -
The current code only works if the tts:ruby attributes are defined directly on the in-line elements. This changes that so we also consider tts:ruby attributes on `style` nodes referenced by ID. PiperOrigin-RevId: 319515177
ibaker committed -
We don't need the renderer immediately after stopping, so the renderer should not throw a checked exception until it's used again. This is inline with the not throwing from disable(). Also, none of the known implementation throw an exception at the moment and all reasonable base classes omit the throws clause already. PiperOrigin-RevId: 319503643
tonihei committed -
They are all for Context.getSystemService that is allowed to return null. In most cases where we need to service, we make an assertion that it is available. PiperOrigin-RevId: 319503557
tonihei committed -
PiperOrigin-RevId: 319497156
aquilescanta committed -
Because the stbl atom is mandatory, there is no reason for having a special C.TIME_UNSET value instead of 0. PiperOrigin-RevId: 319496999
kimvde committed -
And also replaced "Click" with "Tap" for CC button descriptions. PiperOrigin-RevId: 319455553
insun committed -
PiperOrigin-RevId: 319420451
ibaker committed -
The test was incorrectly assuming that with LooperMode.PAUSE, HandlerThread instances needed explicit calls to execute tasks. This commit fixes the test flakiness by manually pausing the HandlerThead when needed. PiperOrigin-RevId: 319411552
christosts committed -
PiperOrigin-RevId: 319399717
ibaker committed -
The standard, least surprising name, for a builder's method that builds the object is `build`. PiperOrigin-RevId: 319379622
krocard committed -
Without checking if getFramesPerEncodedSample fails, the frame count becomes negative which leads to hard to debug errors. PiperOrigin-RevId: 319247618
krocard committed -
PiperOrigin-RevId: 319230328
krocard committed -
Passthrough mode can use a codec or not, but the code only mentioned "passthrough" in most cases, making the specific mode confusing. For example both `MediaCodecRenderer` and it's derived class `MediaCodecAudioRenderer` had a private `passthroughEnabled` field, but they were used for the opposite modes! This change renames all relevant variables/functions to explicit `CodecPassthrough` or `Bypass`. PiperOrigin-RevId: 319225235
krocard committed -
PiperOrigin-RevId: 319223173
Oliver Woodman committed -
PiperOrigin-RevId: 319222833
samrobinson committed -
Even without a drmInitData, a format can still has a DRM. PiperOrigin-RevId: 319217188
krocard committed -
PiperOrigin-RevId: 319205008
olly committed -
The system services may return a null value if the service is not available. Guard against this by falling back to default values. PiperOrigin-RevId: 319187882
tonihei committed -
Issue: #7011 Issue: #6725 Issue: #7066 This also mitigates (but doesn't fix) Issue: #4133 because it prevents a second key load after a short clear section. PiperOrigin-RevId: 319184325
ibaker committed -
PiperOrigin-RevId: 319183621
tonihei committed -
PiperOrigin-RevId: 319183486
krocard committed -
- Removed unnecessary private method - Revised document for animation_enabled attribute - Added setAnimationEnabled/isAnimationEnabled in StyledPlayerControlView PiperOrigin-RevId: 319054648
insun committed -
Including ExoPlayer via relative paths currently breaks the import logic of the common library settings file because it's referenced from different directories. Fix this by resolving the setting path to its canonical name. Issue: #7554 PiperOrigin-RevId: 319043560
tonihei committed -
See https://developer.android.com/reference/android/media/MediaCodec.CryptoInfo#numBytesOfClearData. Both values are allowed to be null. PiperOrigin-RevId: 319038124
tonihei committed -
SampleStreams should always provide samples starting from a keyframe. We do not have equivalent logic in any of our extension decoder renderers. PiperOrigin-RevId: 319012365
olly committed -
PiperOrigin-RevId: 319007693
olly committed -
The list of MediaSourceHolder in ExoPlayerImpl is only maintained to be able to create a PlaylistTimeline for masking. By keeping only the id and a snapshot of the timeline of the MediaSourceHolder in ExoPlayerImpl, parallel access is prevented and we still have sufficient information to create the masking timeline. PiperOrigin-RevId: 319003837
bachinger committed -
Moved ui2/ code and resources into ui/ PiperOrigin-RevId: 318984707
insun committed -
We can't restore the previous state of the remaining chunk, so we can't support discarding from spliced-in chunks. Mark this explicitly instead of attempting to discard from the previous chunk. PiperOrigin-RevId: 318983628
tonihei committed -
I don't need to keep a separate playback looper, I can just use ShadowLooper.idleMainLooper(). PiperOrigin-RevId: 318823190
ibaker committed
-
- 01 Jul, 2020 1 commit
-
-
This fixes an issue where, even if captioning manager is disabled, the latest used captioning manager preference related to text size is being applied. In order to replicate: 1. Go to Captioning Preferences under device Settings and enable it 2. Change the text size to "very large" 3. Observe the selected text size is used for subtitles, for example in Youtube 4. Go to Captioning Preferences under device Settings and disable it 5. Observe the text size used for subtitles does not come back to normal, stays on "very large"
Juanky Soriano committed
-
- 29 Jun, 2020 5 commits
-
-
- Deprecate constructors that don't take an executor, to direct developers toward the new ones. Callers can trivially pass Runnable::run to one of the new ones if they want old behaviour. - Add comment explaining warning suppression added in the CL that added parallelised download support. Issue: #5978 PiperOrigin-RevId: 318803296
olly committed -
This will be necessary to support partially fragmented MP4s. PiperOrigin-RevId: 318798726
kimvde committed -
This enhances readability, particularly as those methods will become more complex when partially fragmented media will be supported. PiperOrigin-RevId: 318795536
kimvde committed -
PiperOrigin-RevId: 318790917
olly committed -
Previously only pcm encoding were stored in Format, this was an issue as for audio passthrough and offload lots of code needs to pass complex format informations (encoding, sample rate, channel count, gapless metadata) but could not use Format and each function was taking each as different parameter. By allowing Format to contain any encoding, and not only pcmEncoding, it allows to pass a Format everywhere in ExoPlayer code that needs a Format. This patch does not have any functional change. It is only an internal refactor. PiperOrigin-RevId: 318789444
krocard committed
-