I read somewhere that the frames are returned in decode order instead of presentation order when using AVAssetReader. The documentation seems sparse on the subject. I have so far failed to find a video file where the frames are not returned in presentation order.
Can anyone confirm the frames are actually returned in decode order?
AVAssetReaderOutput returns frames in decode order when decoding is not requested (when output settings is nil) and in presentation order when decoding is performed.
When working with encoded sample data directly, it is important to maintain the decode order. After decoding, decode order has no particular significance and presentation order is appropriate.