- 06 Mar, 2019 8 commits
-
-
If the DefaultAudioSink was reconfigured in a way that was compatible with the previous configuration just after having been reset, we would try to drain audio processors despite not having an AudioTrack. This could result in a NullPointerException if speed adjustment was active. Fix this behavior by only trying to drain audio processors if we actually have an AudioTrack. PiperOrigin-RevId: 235355466
andrewlewis committed -
Issue #5360 PiperOrigin-RevId: 235196177
bachinger committed -
PiperOrigin-RevId: 235189983
aquilescanta committed -
- Expose constructor (package private for now, for tests only) - Add some tests for cache initialization - Add some TODOs for handling initialization failure PiperOrigin-RevId: 235188386
olly committed -
*** Reason for rollback *** Breaks ExoPlayer's gradle build *** Original change description *** Migrate Mockito Matchers.{hamcrestMethods} to MockitoHamcrest.{hamcrestMethods} All methods accepting a hamcrest Matcher in org.mockito.Matchers have been changed to only accept an ArgumentMatcher. The corresponding methods are now available on MockitoHamcrest. For more information see http://go/mockito-2-lsc Tested: TAP --sample for global presubmit queue http://test/OCL:235033293:BASE:234998256:1550793421835:c2ccbbda *** PiperOrigin-RevId: 235186705olly committed -
Deduplicates the call to Extractor#read and sorrounding logic. PiperOrigin-RevId: 235165499
aquilescanta committed -
All methods accepting a hamcrest Matcher in org.mockito.Matchers have been changed to only accept an ArgumentMatcher. The corresponding methods are now available on MockitoHamcrest. For more information see http://go/mockito-2-lsc Tested: TAP --sample for global presubmit queue http://test/OCL:235033293:BASE:234998256:1550793421835:c2ccbbda PiperOrigin-RevId: 235153912
olly committed -
PiperOrigin-RevId: 234997641
bachinger committed
-
- 21 Feb, 2019 4 commits
-
-
*** Reason for rollback *** Reverting as this may break playback on other Amlogic devices and/or playback of non-interlaced content. *** Original change description *** Add max video size workaround for Amlogic decoder. The Amlogic awesome decoder reduces the video size of interlaced videos by half if the internal configuration isn't force reset with new maximum input size values. The product of these new values must exceed 1920x1088 to force the reset. Issue:#5003 *** PiperOrigin-RevId: 234967314
andrewlewis committed -
PiperOrigin-RevId: 234966936
aquilescanta committed -
Currently IMA determines that the overlay is obstructing, even if it's empty. Register it as friendly, which means we're assuming that anything the apps puts in it is necessary for playback. PiperOrigin-RevId: 234963065
andrewlewis committed -
PiperOrigin-RevId: 234917536
olly committed
-
- 20 Feb, 2019 6 commits
-
-
PiperOrigin-RevId: 234773649
aquilescanta committed -
PiperOrigin-RevId: 234765847
aquilescanta committed -
HlsSampleStream#read should return end of stream when there is no mapping for the sample stream, instead of nothing read. This allows the player to transition to ended. Issue:#5524 PiperOrigin-RevId: 234764027
aquilescanta committed -
- Use Cache UID for CacheContentIndex and CacheFileMetadataIndex. This enables SD card swapping for a single device. - I'm hopeful of finding a way to get the Cache UID to DefaultDownloadIndex so we can do the same there. PiperOrigin-RevId: 234662753
olly committed -
PiperOrigin-RevId: 234641428
bachinger committed -
Horizontal orientation doesn't make sense. I thought about overriding the setter to throw something, but it's probably not worth the extra lines. PiperOrigin-RevId: 234632530
olly committed
-
- 19 Feb, 2019 8 commits
-
-
PiperOrigin-RevId: 234600750
andrewlewis committed -
Issue:#5487 PiperOrigin-RevId: 234586819
aquilescanta committed -
PiperOrigin-RevId: 234586744
aquilescanta committed -
Throwing an IllegalArgumentException doesn't help the method signature. PiperOrigin-RevId: 234579722
aquilescanta committed -
PiperOrigin-RevId: 234578712
andrewlewis committed -
PiperOrigin-RevId: 234573193
olly committed -
Issue #5179 PiperOrigin-RevId: 234571837
bachinger committed -
Issue: #5489 PiperOrigin-RevId: 234507428 Add missing annotation dependency Issue: #5489 PiperOrigin-RevId: 234566177
olly committed
-
- 18 Feb, 2019 14 commits
-
-
PiperOrigin-RevId: 234496529
andrewlewis committed -
Also added intent actions to stop/start one or all downloads. Issue: #4433 Issue: #4860 PiperOrigin-RevId: 234481515
eguven committed -
Catch OutOfMemoryErrors and surface them as unexpected ExoPlaybackExceptions. PiperOrigin-RevId: 234481140
andrewlewis committed -
This bug affects any playlist that uses initialization segments. In practice, almost exclusively fragmented mp4 segmented playlists are affected. The bottom line is that extractors are chosen for reuse after the initialization segment connection is open. However, reused extractors do not need re-parsing the init segment, so loading the initialization is wasteful. PiperOrigin-RevId: 234479467
aquilescanta committed -
PiperOrigin-RevId: 234475237
andrewlewis committed -
Issue: #3863 PiperOrigin-RevId: 234453728
andrewlewis committed -
The system may destroy views at any time and may not have created the view at all. Use the state saved in the fragment to be independant of the existance of the view. PiperOrigin-RevId: 234156285
tonihei committed -
TrackSelectionView requires an initialization with a call to init(...). That's why we shouldn't let the view retain its view hierarchy automatically as the views won't be backed by data if restored. Instead add a listener which lets the containing activity/fragment save and restore the state if needed. PiperOrigin-RevId: 234152491
tonihei committed -
Issue #5494 PiperOrigin-RevId: 234138162
bachinger committed -
PiperOrigin-RevId: 234137695
andrewlewis committed -
PiperOrigin-RevId: 234128521
tonihei committed -
This is a temporary fix to prevent NullPointerException exceptions. Though writing to cache will still fail if the cache folder isn't a real folder. There are a few thing we can try: * The listing might be failing because the cache folder is just created. We can wait and try again. * If the cache folder is a regular file, we can try deleting and creating a folder with the same name. PiperOrigin-RevId: 234121925
eguven committed -
Defined in RFC 8216 Section 4.3.2.5. Issue:#5441 PiperOrigin-RevId: 234114119
aquilescanta committed -
PiperOrigin-RevId: 234042474
olly committed
-