In example below there is a simple AVComposition with one video track, with AVVideoComposition that is single passthrough instruction. Source video track has preferredTransform == identity, so no need to modify layer instruction, passthrough should work.
And for some reason, it doesn't render in AVPlayer when
If I slightly modify either render size or set some transform on composition track - everything works.
https://www.icloud.com/iclouddrive/0IrVpTkRkb213-T57OkQNn7WA#VideoCompositionProportionalRenderSize
And for some reason, it doesn't render in AVPlayer when
Code Block let renderSize = videoAsset.tracks(withMediaType: .video).first!.naturalSize videoComposition.renderSize = renderSize
If I slightly modify either render size or set some transform on composition track - everything works.
https://www.icloud.com/iclouddrive/0IrVpTkRkb213-T57OkQNn7WA#VideoCompositionProportionalRenderSize