Skip to content

Commit

Permalink
debug print 追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Oct 3, 2024
1 parent 0446cfe commit 1dbd8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sora/SwiftUIVideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public struct SwiftUIVideoView<Background>: View where Background: View {

/**
映像の描画を停止します。
TODO(zztkm): State で更新できるか確認する
*/
private func videoStop(_ flag: Bool) {
if flag {
Expand Down
2 changes: 2 additions & 0 deletions Sora/VideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ public class VideoView: UIView {
映像フレームの描画を開始します。
*/
public func start() {
print("kensaku: call start")
if !isRendering {
print("kensaku: 描画開始")
DispatchQueue.main.async {
self.bringSubviewToFront(self.contentView)
self.isRendering = true
Expand Down

0 comments on commit 1dbd8a0

Please sign in to comment.