Skip to content

Commit

Permalink
#1633 fix the degradation
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Dec 16, 2024
1 parent 12671a5 commit 776c533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HaishinKit/Sources/Screen/ScreenObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,14 @@ public final class VideoTrackScreenObject: ScreenObject, ChromaKeyProcessable {
/// Create a screen object.
override public init() {
super.init()
horizontalAlignment = .center
do {
queue = try TypedBlockQueue(capacity: Self.capacity, handlers: .outputPTSSortedSampleBuffers)
} catch {
logger.error(error)
}
Task {
horizontalAlignment = .center
}
}

/// Registers a video effect.
Expand Down

0 comments on commit 776c533

Please sign in to comment.