- 09 Aug, 2019 12 commits
-
-
I think we need to start clearing the holder as part of the DRM rework. When we do this, it'll only be valid to read from the holder immediately after it's been populated. PiperOrigin-RevId: 262362725
olly committed -
https://github.com/google/ExoPlayer/commit/bbe681a904d58fe1f84f6c7c6e3390d932c86249
*** Original commit *** Make Kotlin JVM annotations available and use in ExoPlayer. NoExternal *** PiperOrigin-RevId: 262323737
olly committed -
NoExternal PiperOrigin-RevId: 262316962
tonihei committed -
PiperOrigin-RevId: 262306255
tonihei committed -
PiperOrigin-RevId: 262303610
tonihei committed -
We're no longer tied to the emsg spec, so we can skip unused fields and assume ms for duration. Also remove @Nullable annotation from EventMessageEncoder#encode, it seems the current implementation never returns null PiperOrigin-RevId: 262135009
ibaker committed -
PiperOrigin-RevId: 262124441
tonihei committed -
PiperOrigin-RevId: 262123595
tonihei committed -
PiperOrigin-RevId: 262121134
ibaker committed -
We don't usually refer to other classes when documenting method parameters but rather duplicate the actual definition. PiperOrigin-RevId: 262102714
tonihei committed -
We already allow mixed mime type and mixed sample rate adaptation on request, so for completeness, we can also allow mixed channel count adaptation. Issue:#6257 PiperOrigin-RevId: 261930046
tonihei committed -
PiperOrigin-RevId: 261917229
olly committed
-
- 06 Aug, 2019 5 commits
-
-
PiperOrigin-RevId: 261910303
tonihei committed -
PiperOrigin-RevId: 261888086
tonihei committed -
This only covers calls to scaleLargeTimestamp() PiperOrigin-RevId: 261878019
ibaker committed -
This also decouples EventMessageEncoder's serialization schema from the emesg spec (it happens to still match the emsg-v0 spec, but this is no longer required). PiperOrigin-RevId: 261877918
ibaker committed -
PiperOrigin-RevId: 261872025
tonihei committed
-
- 05 Aug, 2019 6 commits
-
-
PiperOrigin-RevId: 261700729
tonihei committed -
If we keep streams in chunk sources after selecting new tracks, we also keep a reference to a stale disabled TrackSelection object. Fix this by updating the TrackSelection object when keeping the stream. The static part of the selection (i.e. the subset of selected tracks) stays the same in all cases. Issue:#6256 PiperOrigin-RevId: 261696082
tonihei committed -
PiperOrigin-RevId: 261693054
sofijajvc committed -
PiperOrigin-RevId: 261651655
olly committed -
Issue:#6260 PiperOrigin-RevId: 261647858
tonihei committed -
We currently keep the sequence number if we don't reset the position. However, the sequence number should be kept if we don't reset the state. Otherwise re-prepare with position reset is counted as new playback although it's still the same. PiperOrigin-RevId: 261644924
tonihei committed
-
- 02 Aug, 2019 12 commits
-
-
PiperOrigin-RevId: 261353271
olly committed -
PiperOrigin-RevId: 261341256
olly committed -
PiperOrigin-RevId: 261340526
olly committed -
PiperOrigin-RevId: 261328701
olly committed -
PiperOrigin-RevId: 261320318
olly committed -
- Test seeking to (timeUs=0, position=0), which should always work and produce the same output as initially reading from the start of the stream. - Reset the input when testing seeking, to ensure IO errors are simulated for this case. PiperOrigin-RevId: 261317898
olly committed -
- When in STATE_SEEK with targetGranule==0, seeking would exit without checking that the input was positioned at the correct place. - Seeking could fail due to trying to read beyond the end of the stream. - Seeking was not robust against IO errors during the skip phase that occurs after the binary search has sufficiently converged. PiperOrigin-RevId: 261317035
olly committed -
PiperOrigin-RevId: 261312509
olly committed -
Two tests have very low propability flakiness (1:1000) due to not waiting for a seek in one case and the chance of already being ended in another case. Fix these and also adjust wrong comments about state changes. PiperOrigin-RevId: 261309976
tonihei committed -
PiperOrigin-RevId: 261295173
sofijajvc committed -
This will be used in common video renderer and decoder classes. PiperOrigin-RevId: 261287124
sofijajvc committed -
These values can easily default to the empty track group and the empty selection. As a result we can remove restrictions about not calling holder.getTrackGroups before the period finished preparation. PiperOrigin-RevId: 261280927
tonihei committed
-
- 01 Aug, 2019 5 commits
-
-
A previous change switched to calculation of the bitrate based on the first MPEG audio header in the stream. This had the effect of fixing seeking to be consistent with playing from the start for streams where every frame has the same padding value, but broke streams where the encoder (correctly) modifies the padding value to match the declared bitrate in the header. Issue: #6238 PiperOrigin-RevId: 261163904
andrewlewis committed -
Issue: #5938 PiperOrigin-RevId: 261150349
olly committed -
Issue: #6241 PiperOrigin-RevId: 261126968
olly committed -
PiperOrigin-RevId: 261125341
aquilescanta committed -
Android considers ALAC initialization data to consider of the magic cookie only, where-as FFmpeg requires a full atom. Standardize around the Android definition, since it makes more sense (the magic cookie being contained within an atom is container specific, where-as the decoder shouldn't care what container the media stream is carried in) Issue: #5938 PiperOrigin-RevId: 261124155
olly committed
-