|
@@ -24,7 +24,7 @@ public class PQCompositionExporter {
|
|
|
public let animationTool: AVVideoCompositionCoreAnimationTool?
|
|
|
public let exportURL: URL
|
|
|
|
|
|
- public var input: PQMoveInput?
|
|
|
+ public var input: PQMovieInput?
|
|
|
public var output: MovieOutput?
|
|
|
|
|
|
public let tmpExportURL: URL?
|
|
@@ -85,9 +85,9 @@ public class PQCompositionExporter {
|
|
|
|
|
|
do {
|
|
|
if audioMix != nil {
|
|
|
- try input = PQMoveInput(asset: asset, videoComposition: nil, audioMix: audioMix, playAtActualSpeed: true, loop: false, audioSettings: audioDecodingSettings)
|
|
|
+ try input = PQMovieInput(asset: asset, videoComposition: nil, audioMix: audioMix, playAtActualSpeed: true, loop: false, audioSettings: audioDecodingSettings)
|
|
|
} else {
|
|
|
- try input = PQMoveInput(asset: asset, videoComposition: nil, audioMix: nil, playAtActualSpeed: false, loop: false, audioSettings: audioDecodingSettings)
|
|
|
+ try input = PQMovieInput(asset: asset, videoComposition: nil, audioMix: nil, playAtActualSpeed: false, loop: false, audioSettings: audioDecodingSettings)
|
|
|
}
|
|
|
|
|
|
input?.mShowVidoSize = videoSize
|