- 17 Feb, 2020 19 commits
-
-
Seems like it belongs here. PiperOrigin-RevId: 295571820
ibaker committed -
PiperOrigin-RevId: 295569075
aquilescanta committed -
This is closer to how our actual renderers look like and allows tests to use a similar logic to show/suppress the first frame in follow-up changes. PiperOrigin-RevId: 295557548
tonihei committed -
We will eventually remove the workaround from ExoPlayerImplInternal added in https://github.com/google/ExoPlayer/commit/b84bde025258e7307c52eaf6bbe58157d788aa06 and replace it by an error that gets thrown if the LoadControl behaves badly. PiperOrigin-RevId: 295556131
tonihei committed -
PiperOrigin-RevId: 295548715
Ian Baker committed -
Libgav1 recently added the ComputeFrameBufferInfo() and SetFrameBuffer() helper functions for writing frame buffer callbacks. Using them simplifies the Libgav1GetFrameBuffer() function. Also resurrect the AlignTo16() function. PiperOrigin-RevId: 295548330
olly committed -
PiperOrigin-RevId: 295543916
kimvde committed -
PiperOrigin-RevId: 295540885
kimvde committed -
PiperOrigin-RevId: 295539969
ibaker committed -
Plus a bit of misc warning cleanup whilst I was there PiperOrigin-RevId: 295415657
olly committed -
PiperOrigin-RevId: 295414974
olly committed -
fixes: gav1_jni.cc:446:25: error: cast from pointer to smaller type 'int' loses information const int buffer_id = reinterpret_cast<int>(buffer_private_data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gav1_jni.cc:730:9: error: cast from pointer to smaller type 'int' loses information reinterpret_cast<int>(decoder_buffer->buffer_private_data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ after https://github.com/google/ExoPlayer/commit/0915998add5918214fa0282a69b50a159168a6d5 PiperOrigin-RevId: 295211245olly committed -
PiperOrigin-RevId: 295146481
christosts committed -
Previously that was implicit, it was the passthrough dance: - MimeTypes.getEncoding(inputFormat) did not implement RAW MIME, so it was returning INVALID_ENCODING for PCM - and allowPassthrough was returning MimeTypes.getEncoding() != INVALID_ENCODING - which was setting codecInfo.passthrough, and passthroughEnabled. Thus Util.isEncodingPcm(encoding) is the opposite of (MimeTypes.getEncoding(inputFormat) != C.ENCODING_INVALID) This was rather implicit and brittle as anyone could add support for audio/RAW in MimeTypes.getEncoding and break PCM playback. As a result make it explicit that allowPassthrough must always return false in PCM. PiperOrigin-RevId: 295144013krocard committed -
PiperOrigin-RevId: 295140561
krocard committed -
API level >= 17 is guaranteed by shouldUseDummySurface returning true, but Android Studio shows a warning anyway. PiperOrigin-RevId: 295118491
andrewlewis committed -
PiperOrigin-RevId: 294943298
olly committed -
PiperOrigin-RevId: 294936851
bachinger committed
-
- 13 Feb, 2020 21 commits
-
-
Daniele Bonaldo committed
-
TIL: papayawhip is a color
Daniele Bonaldo committed -
To ease implementation of MediaParser. PiperOrigin-RevId: 294912244
aquilescanta committed -
Modify TrackOutput.sampleData() to accept SampleDataReader instead of ExtractorInput. SampleDataReader supports only read and skip calls, which all sampleData() implementations already restrict themselves to. PiperOrigin-RevId: 294905155
olly committed -
PiperOrigin-RevId: 294893303
kimvde committed -
Currently only one access unit can be written per buffer write. This has been found to be power inefficient in an offload situation. #exo-offload PiperOrigin-RevId: 294886188
krocard committed -
PiperOrigin-RevId: 294883290
kimvde committed -
This information isn't easily available to the player at the moment (or it would need to revaluate this every time), so add it to MediaPeriodInfo similar to the existing isLastInTimelinePeriod. The player needs to know whether a MediaPeriod is the last in its Timeline window if we want to add an option to pause at the end of a window. PiperOrigin-RevId: 294877628
tonihei committed -
PiperOrigin-RevId: 294689274
andrewlewis committed -
Add fields in DecoderCounters for computing the average video frame processing offset. The MediaCodecVideoRenderer reports the video frame processing offset and the demo app presents it on the debug information. PiperOrigin-RevId: 294677878
christosts committed -
The transition in EPII happens based on the duration of the periods, not the windows. So use this duration in case they are not the same. Also make sure to send the message at duration-1 because the playback position at the duration is technically already the first position in the next item. PiperOrigin-RevId: 294669335
tonihei committed -
Issue: #2863 PiperOrigin-RevId: 294661214
olly committed -
This simplifies sending messages to the end of a stream. This was already possible, but users needed to wait until the duration is known before sending the message. This duration resolution can happen as part of the message position resolution. PiperOrigin-RevId: 294626984
tonihei committed -
PiperOrigin-RevId: 294621946
kimvde committed -
This is a no-op change and just moves some duplicated logic into the base class. PiperOrigin-RevId: 294615218
tonihei committed -
PiperOrigin-RevId: 294614958
kimvde committed -
PiperOrigin-RevId: 294613898
kimvde committed -
- Removes empty <p> tag in javadoc - Removes incorrect parameter name warnings for var args. PiperOrigin-RevId: 294555651
olly committed -
Issue: #2863 PiperOrigin-RevId: 294531127
olly committed -
Keeping (Uri) and (Uri, position, length) to avoid needing Builder for the trivial case. PiperOrigin-RevId: 294530226
olly committed -
PiperOrigin-RevId: 294520836
olly committed
-