- 06 Oct, 2020 7 commits
-
-
`subtitle` is only guaranteed to be non-null if `nextSubtitleEventIndex != C.INDEX_UNSET`. The null check added in https://github.com/google/ExoPlayer/commit/0efec5f6c12a5d583f24c122fbcbc1b1eebbabc3 was too early. Issue: #8017 PiperOrigin-RevId: 334777742
ibaker committed -
PiperOrigin-RevId: 334771927
ibaker committed -
This was broken by https://github.com/google/ExoPlayer/commit/74a9d8f680995f2096c59fde6cd1ef6e85bb4d55 because DashManifestParser switched to setting Format.sampleMimeType to text/vtt while SubtitleDecoderFactory was still expecting application/x-mp4-vtt. This change teaches SubtitleDecoderFactory to check both Format.containerMimeType and Format.sampleMimeType. I'll investigate a follow-up change to remove MimeTypes.APPLICATION_MP4VTT completely (it's currently still used in AtomParsers). Issue: #7985 PiperOrigin-RevId: 334771672
ibaker committed -
In the test, a real instance of SimpleExoplayer plays two identical Mp3 files. The GaplessMp3Decoder will write randomized data to decoder output on receiving input. The test compares the bytes written by the decoder with the bytes received by the AudioTrack, to verify that the trimming of encoder delay/ padding is correctly carried out. Test mp3 has delay 576 frames and padding 1404 frames. File generated from: ffmpeg -f lavfi -i "sine=frequency=1000:duration=1" test.mp3 This change needs robolectric version 4.5, which is not currently released (2020 Sep 30). PiperOrigin-RevId: 334648486
claincly committed -
This holds shared test infrastructure that needs to depend on Robolectric. PiperOrigin-RevId: 334604041
ibaker committed -
When I moved ParsableByteArray#data behind a getter I replaced some assignments with calls to reset(byte[]): https://github.com/google/ExoPlayer/commit/ce2e6e2fd625db787b1f400614adcd7458144bbd reset(byte[]) deliberately sets `limit` to `data.length`, in order to handle cases that were reassigning `data` but not updating `limit`. However OggPacket was already using `limit` to track where to write 'new' data into the array, so changing `limit` to `data.length` caused us to try and write new data beyond the end of the array. I looked at other uses of reset(byte[]) in https://github.com/google/ExoPlayer/commit/ce2e6e2fd625db787b1f400614adcd7458144bbd and condluded the only other usage in MatroskaExtractor is legit and shouldn't be updated like this (because MatroskaExtractor previously *wasn't* correctly updating/maintaining `limit`). Issue: #7992 PiperOrigin-RevId: 334601586
ibaker committed -
PiperOrigin-RevId: 334580007
christosts committed
-
- 30 Sep, 2020 6 commits
-
-
PiperOrigin-RevId: 334567234
andrewlewis committed -
PiperOrigin-RevId: 334562209
andrewlewis committed -
PiperOrigin-RevId: 334549894
ibaker committed -
Non-realtime AudioTrack playback speed was not taken into account when extrapolating the old mode's position, causing the position not to advance smoothly. This should be a no-op when not using AudioTrack playback params for speed adjustment. Issue: #7982 PiperOrigin-RevId: 334151163
andrewlewis committed -
Every other subtitleButton has an if not null check, but does not force non null. Issue: #7962 PiperOrigin-RevId: 334124323
samrobinson committed -
On receiving a fetch error for an ad that would otherwise play based on an initial/seek position, the pending content position wasn't cleared which meant that position reporting was broken after a fetch error. Fix this by always clearing the pending position (if there was a pending position that will have triggered the fetch error). Also deduplicate the code for handling empty ad groups (fetch errors) and ad group load errors. Issue: #7956 PiperOrigin-RevId: 334113131
andrewlewis committed
-
- 25 Sep, 2020 27 commits
-
-
PiperOrigin-RevId: 333751261
Oliver Woodman committed -
Issue: #7949 PiperOrigin-RevId: 333733615
kimvde committed -
ISSUE: #7977 PiperOrigin-RevId: 333726625
bachinger committed -
PiperOrigin-RevId: 333720336
bachinger committed -
PiperOrigin-RevId: 333714978
bachinger committed -
PiperOrigin-RevId: 333712782
christosts committed -
Set the FLAG_MIGHT_NOT_USE_FULL_NETWORK_SPEED on live load DataSpecs for segments that are not yet fully available. PiperOrigin-RevId: 333712684
christosts committed -
Issue: #7967 PiperOrigin-RevId: 333709003
samrobinson committed -
Remove the SynchronousMediaCodecBufferEnqueuer interface since we only keep the AsynchronousMediaCodecBufferEnqueuer implementation. PiperOrigin-RevId: 333701115
christosts committed -
Retry AudioTrack init and write for 100ms before giving up and aborting playback. This was tested by throwing every 2 init/write and making sure playback did not stopped. #exo-offload PiperOrigin-RevId: 333536841
krocard committed -
#exo-offload PiperOrigin-RevId: 333532900
krocard committed -
Intended for statistics now that all errors are not surfaced to the app. PiperOrigin-RevId: 333519898
krocard committed -
#exo-offload PiperOrigin-RevId: 333513385
krocard committed -
#exo-offload PiperOrigin-RevId: 333512383
krocard committed -
Do that by adding a recoverable state to the ExoPlaybackException marking when it is needed to recreate the renderers. PiperOrigin-RevId: 333507849
krocard committed -
Fix bug to place the negative sign in the beginning of the returned String. PiperOrigin-RevId: 333504868
christosts committed -
Remove MediaCodecOperationMode and replace it with a boolean flag to enable/disable asynchronous queueing. PiperOrigin-RevId: 333504817
christosts committed -
Those aliases were introduced when the class was also called AudioTrack. PiperOrigin-RevId: 333499360
krocard committed -
#exo-offload PiperOrigin-RevId: 333497538
krocard committed -
Apps can still opt out for now, but this option will be removed in the future. Issue: #4463 PiperOrigin-RevId: 333489424
tonihei committed -
PiperOrigin-RevId: 333485323
kim-vde committed -
PiperOrigin-RevId: 333480727
tonihei committed -
This issue has been observed on a test app stress testing setEndOfStream. The issue has not been observed on ExoPlayer, probably due to timing differences, but it is fixed preventively. #exo-offload PiperOrigin-RevId: 333472136
krocard committed -
This seems to be an exact copy of sample.adts. Update the test to use the same sample but just output to a different dump file. PiperOrigin-RevId: 333469714
ibaker committed -
These are from https://medium.com/google-exoplayer/improved-japanese-subtitle-support-7598fee12cf4 PiperOrigin-RevId: 333296789
ibaker committed -
PiperOrigin-RevId: 333272292
andrewlewis committed -
This allows the player to load the unfinished segment of a low-latency DASH stream. PiperOrigin-RevId: 333077153
tonihei committed
-