blob: 9d736bc21afea5318893e26a9ee2dcd1a254c0c0 [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 FLTGetStandardizedTransformForTrack(AVAssetTrack* track);