media/library/common/src/main
andrewlewis dc813eca41 Fix stuck ad playbacks with DRM-protected content
When ClippingMediaPeriod first tried to read a buffer, if its end
position was before the end of the stream and it was buffered to its end
position, it would sometimes erroneously signal end-of-stream for
protected content because the sample queue might be waiting for DRM keys
at this point.

Work around the issue temporarily by signaling this specific case back
to ClippingMediaPeriod via the DecoderInputBuffer.

There will likely be a cleaner fix as a result of adding support for
dynamic clip end points in the future, at which point this can be
reverted.

issue:#7188
PiperOrigin-RevId: 305081757
2020-04-07 13:38:33 +01:00
..
java/com/google/android/exoplayer2 Fix stuck ad playbacks with DRM-protected content 2020-04-07 13:38:33 +01:00
AndroidManifest.xml Split out extractor and common modules 2020-01-24 18:15:19 +00:00
proguard-rules.txt Split out extractor and common modules 2020-01-24 18:15:19 +00:00