mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

For out of order B-frames, the samples comes out of order and hence presentation timestamps are not strictly increasing. This can be verified by adding following assertion in `writeSampleData()` API either in `MuxerWrapper` or in `Muxer API`. ``` checkArgument( bufferInfo.presentationTimeUs > lastSamplePresentationTimeUs, "Out of order B-frames are not supported"); ``` PiperOrigin-RevId: 589152093