Minor style fixes

This commit is contained in:
Arkadiusz Fal
2022-11-19 00:58:21 +01:00
parent 99769380fc
commit a14b0b12fa
3 changed files with 15 additions and 6 deletions

View File

@@ -130,7 +130,7 @@ final class AVPlayerBackend: PlayerBackend {
preservingTime: Bool,
upgrading _: Bool
) {
if var url = stream.singleAssetURL {
if let url = stream.singleAssetURL {
model.logger.info("playing stream with one asset\(stream.kind == .hls ? " (HLS)" : ""): \(url)")
if video.isLocal, video.localStreamIsFile {