开发者

AVAssetTrack totalSampleDataLength is 0

I'm programming an iPhone app which uses an AVAssetReader to read samples from an AVAssetTrack, I need to allocate some memory which depe开发者_C百科nds on the number of samples in the AVAssetTrack, but for some reason totalSampleDataLength is returning 0.

Any ideas?


< warning - guess! >

Perhaps it's something to do with the AVAsynchronousKeyValueLoading protocol - do you have to ask it to load the value for that key before it's populated?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜