Skip to content

Commit

Permalink
debug printを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Oct 2, 2024
1 parent 2603cc3 commit b879a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sora/SwiftUIVideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ public struct SwiftUIVideoView<Background>: View where Background: View {
映像の描画を停止します。
TODO(zztkm): State で更新できるか確認する
*/
private func videoStop(_ flag: Bool) -> SwiftUIVideoView<Background> {
private func videoStop(_ flag: Bool) {
print("kensaku: videoStop(\(flag))")
if flag {
controller.videoView.stop()
} else if !controller.videoView.isRendering {
controller.videoView.start()
}
return self
print("kensaku: \(controller.videoView.isRendering)")
}

/**
Expand Down

0 comments on commit b879a5a

Please sign in to comment.