Skip to content

Commit 6364586

Browse files
committed
Expose error types
1 parent f8fd5fb commit 6364586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Upscaling/UpscalingCompositor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public final class UpscalingCompositor: NSObject, AVVideoCompositing {
152152

153153
// MARK: UpscalingCompositor.Error
154154

155-
extension UpscalingCompositor {
155+
public extension UpscalingCompositor {
156156
enum Error: Swift.Error {
157157
case couldNotGetSourceTrackID
158158
case couldNotGetSourceFrame

Sources/Upscaling/UpscalingExportSession.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public class UpscalingExportSession {
253253

254254
// MARK: UpscalingExportSession.Error
255255

256-
extension UpscalingExportSession {
256+
public extension UpscalingExportSession {
257257
enum Error: Swift.Error {
258258
case outputURLAlreadyExists
259259
case couldNotAddAssetReaderVideoOutput

0 commit comments

Comments
 (0)