- 30 Oct, 2019 26 commits
-
-
Prevents access of fields before initialization. Also set remoteMediaClient in the constructor by using setRemoteMediaClient instead of assigning the field directly, which will (if possible) pull the state of the receiver in the constructor. PiperOrigin-RevId: 276660004
aquilescanta committed -
PiperOrigin-RevId: 276491102
samrobinson committed -
Everyone should use the Builder. PiperOrigin-RevId: 276468354
ibaker committed -
Otherwise, it will be a build error once we turn on the error. Sponge: https://sponge.corp.google.com/target?id=8e88bd90-a716-40f7-9599-b70e9193b297&target=//third_party/java_src/android_libs/exoplayer/v2/extensions/flac/src/main:binary. PiperOrigin-RevId: 276461029
olly committed -
PiperOrigin-RevId: 276452333
samrobinson committed -
Also change the type of endTime to long to match startTime PiperOrigin-RevId: 276448131
ibaker committed -
PiperOrigin-RevId: 276366002
tonihei committed -
https://github.com/google/ExoPlayer/commit/bf01ff0f60930427cb8a31e88fcad009d89132cc
*** Original commit *** Use Float.NaN for Cue#DIMEN_UNSET Float.MIN_VALUE is very close to zero: "A constant holding the smallest positive nonzero value of type float" https://developer.android.com/reference/java/lang/Float.html#MIN_VALUE Float.NaN more clearly conveys this is an invalid number, and will also more clearly carry over if we do maths on it accidentally. *** PiperOrigin-RevId: 276315786
olly committed -
Float.MIN_VALUE is very close to zero: "A constant holding the smallest positive nonzero value of type float" https://developer.android.com/reference/java/lang/Float.html#MIN_VALUE Float.NaN more clearly conveys this is an invalid number, and will also more clearly carry over if we do maths on it accidentally. PiperOrigin-RevId: 276277784
ibaker committed -
PiperOrigin-RevId: 276084113
samrobinson committed -
PiperOrigin-RevId: 276036585
samrobinson committed -
PiperOrigin-RevId: 276035838
aquilescanta committed -
Without this, a subtitle track empty edit list used to offset the start of subtitles is ignored. Also the current code seems to depend on the order in which we parse the tracks (audio first means we have gapless info when we parse video track, while video first we wouldn't). It's not clear why we can't handle both edit lists & gapless info PiperOrigin-RevId: 276029744
ibaker committed -
PiperOrigin-RevId: 276024935
andrewlewis committed -
Pull it into a top-level package private class at the same time As suggested in https://github.com/google/ExoPlayer/commit/0ba91811d146e14b6bb814d15c8bb3e09011aa79 PiperOrigin-RevId: 275870515
ibaker committed -
PiperOrigin-RevId: 275869409
olly committed -
PiperOrigin-RevId: 275863101
aquilescanta committed -
PiperOrigin-RevId: 275856697
olly committed -
ISSUE: #6550 PiperOrigin-RevId: 275842161
bachinger committed -
- Leaving GvrAudioProcessor for now. - Removing GvrPlayerActivity because it was never released. Also removing related UI classes. These were released, but it's unlikely anyone would have been using them directly. PiperOrigin-RevId: 275822516
olly committed -
PiperOrigin-RevId: 275814023
ibaker committed -
This reverts https://github.com/google/ExoPlayer/commit/a81dea6a47c7df83f029e03080dd6878ab75f133 and adds in the necessary nullness annotations After a discussion that this:: method references allocate on every call: https://dzone.com/articles/passing-thismethod-reference-within-a-loop-affects PiperOrigin-RevId: 275813989
ibaker committed -
https://github.com/google/ExoPlayer/commit/36f8bd78f749dbc1745147c882b7a606a0a880fb
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/4ad4e3e4fcf2480bc36e7034026a3538ec7664be *** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/3b22db33ba944df6829b1eff328efb0cd25e1678 *** Original commit *** add top-level playlist API to ExoPlayer Public design doc: https://docs.google.com/document/d/11... *** PiperOrigin-RevId: 275813737
bachinger committed -
ConditionVariable.block(timeout) doesn't work in Robolectric, because it relies on the system clock which doesn't advance. PiperOrigin-RevId: 275798281
ibaker committed -
The compositeSequenableLoader was causing NPEs in isLoading. Initializing it upfront prevents this problem and is in line with what we do in all real MediaPeriods. PiperOrigin-RevId: 275491511
tonihei committed
-
- 18 Oct, 2019 12 commits
-
-
Issue:#6537 PiperOrigin-RevId: 275477266
samrobinson committed -
PiperOrigin-RevId: 275440589
ibaker committed -
The null-checker wasn't clever enough to understand the while-loop was safe so I switched it to a for. PiperOrigin-RevId: 275440464
ibaker committed -
PiperOrigin-RevId: 275439892
olly committed -
Without this patch, enabling tunneling on an API < 21 device would result in an method not existing exception and the app would crash. PiperOrigin-RevId: 275428851
krocard committed -
@MonotonicNonNull is not useful if the variable is final, because it's only assigned once and guaranteed to keep it's current nullability in the same way as @MonotonicNonNull ensures it's kept non-null after checking. This way, the workarounds can also be removed. PiperOrigin-RevId: 275428656
tonihei committed -
PiperOrigin-RevId: 275425267
andrewlewis committed -
https://github.com/google/ExoPlayer/commit/9f0fd870e7c82d703ec0957ac47bb971aa763956
*** Original commit *** Port Exo v1 work around for frame synchronization issue in KitKat to Exo v2. *** PiperOrigin-RevId: 275372272
olly committed -
GlViewGroup doesn't work properly as an actual ViewGroup. For example, it doesn't support addition of child views after instantiation. This change turns the class into a renderer, which is also more consistent with other classes in the package. PiperOrigin-RevId: 275322295
olly committed -
PiperOrigin-RevId: 275293735
bachinger committed -
https://github.com/google/ExoPlayer/commit/4ad4e3e4fcf2480bc36e7034026a3538ec7664be
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/3b22db33ba944df6829b1eff328efb0cd25e1678 *** Original commit *** add top-level playlist API to ExoPlayer Public design doc: https://docs.google.com/document/d/11h0S91KI5TB3NNZUtsCzg0S7r6nyTnF_tDZZAtmY93g Issue: #6161 *** *** PiperOrigin-RevId: 275276158
bachinger committed -
PiperOrigin-RevId: 275233915
ibaker committed
-
- 17 Oct, 2019 2 commits
-
-
If an odd resolution is impossible in the specification itself, then we know that the caller is passing invalid data. Round up on the assumption it's a rounding error so that playback can proceed. Issue: #6551 PiperOrigin-RevId: 275226813
olly committed -
It makes observing differences without and with tunneling much faster than recompiling. PiperOrigin-RevId: 275216567
krocard committed
-