Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 510 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 510 Bytes

AVAssetReaderIncorrectAudio

Sample iOS project to trigger a bug in AVAssetReader when reading audio in AVComposition.

Audio sample buffers read after a call to -[AVAssetReaderOutput resetTimeRanges:] when reading an audio track of AVComposition will be incorrect. Edits applied to AVComposition will be ignored and the original data will be read.

In particular, it means that SloMo videos will be read incorectly, because they are represented by AVComposition.

See the code in ViewController.m