blob: a09af39a90ef8d7aa98dda960dd9042bff419e8a [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <AVFoundation/AVFoundation.h>
/**
* Returns a standardized transform
* according to the orientation of the track.
*
* Note: https://stackoverflow.com/questions/64161544
* `AVAssetTrack.preferredTransform` can have wrong `tx` and `ty`.
*/
CGAffineTransform FVPGetStandardizedTransformForTrack(AVAssetTrack* track);