Slow reading of MXF timecode with AVAssetReader

I have code based on the AVFoundation Timecode Reader/Writer sample project. All works fine for .mov but when using MXF files, I'm seeing a significant delay (around 10 seconds) before the first timecode sample is available. This is with a file of 40 minute duration.


I accidentally discovered that MXF seems to have a timecode sample for every video frame, which made for an even longer delay, so now I'm canceling reading after the first valid timecode sample is read, but I'm still stuck with this delay.


I'm suspicious that the delay is connected with the number of timecode samples in the MXF file, but it does seem odd as I'm only asking it to copy the next sample buffer.


Am I missing something?