-[AVMutableComposition scaleTimeRange:toDuration:] does not scale audio tracks

Originator:st.khapugin
Number:rdar://20816957 Date Originated:05-May-2015 07:26 PM
Status:Open Resolved:NO
Product:iOS Product Version:8.3
Classification:Bug Reproducible:Always
 
Summary:
The AVMutableComposition time range scaling can only scale video tracks of the composition

Steps to Reproduce:
1. Create AVMutableComposition object 
2. Add a video track via addMutableTrackWithMediaType:preferredTrackID:
2. Add an audio track via addMutableTrackWithMediaType:preferredTrackID:
3. insert a video asset with insertTimeRange:ofTrack:atTime:error:
4. similarly, insert an audio track to the same mutable composition
5. call scaleTimeRange:toDuration: on the AVMutableComposition object

Expected Results:
All tracks (audio and video) of the resulting AVMutableComposition are scaled

Actual Results:
Only video tracks are scaled. Audio tracks are left intact.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!