media/libraries/exoplayer/src
tonihei 3ccb920930 Update bypass decode-only logic to timestamp-based pattern
This aligns the bypass code with the MediaCodec logic to not
use buffer.isDecodeOnly and instead rely on a timestamp
comparison with the last reset time. Overall, the change should
not introduce a functional difference and is covered by existing
end-to-end tests with bypass playbacks.

Splitting bypass batch buffers by decoder-only flag is
technically wrong for formats where not every buffer is a
keyframe, and this change also leaves a TODO to explain this
known shortcoming.

PiperOrigin-RevId: 556800038
2023-08-14 17:21:10 +01:00
..
androidTest Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
main Update bypass decode-only logic to timestamp-based pattern 2023-08-14 17:21:10 +01:00
test Update bypass decode-only logic to timestamp-based pattern 2023-08-14 17:21:10 +01:00