[create-pull-request] automated change

This commit is contained in:
acvigue 2021-06-18 15:34:41 +00:00 committed by GitHub
parent 915dc45152
commit 0cff5dba0e
2 changed files with 6 additions and 6 deletions

View File

@ -40,7 +40,7 @@ struct MainTabView: View {
TabView(selection: $tabSelection) {
HomeView()
.offset(y: -1) //don't remove this. it breaks tabview on 4K displays.
.offset(y: -1) // don't remove this. it breaks tabview on 4K displays.
.tabItem {
Text(Tab.home.localized)
Image(systemName: "house")
@ -74,4 +74,4 @@ extension MainTabView {
}
}
//stream ancient dreams in a modern land by MARINA!
// stream ancient dreams in a modern land by MARINA!

View File

@ -326,8 +326,8 @@ class PlayerViewController: UIViewController, VLCMediaDelegate, VLCMediaPlayerDe
deliveryUrl = nil
}
let subtitle = Subtitle(name: stream.displayTitle ?? "Unknown", id: Int32(stream.index!), url: deliveryUrl, delivery: stream.deliveryMethod!, codec: stream.codec ?? "webvtt")
if(subtitle.delivery != .encode) {
if subtitle.delivery != .encode {
subtitleTrackArray.append(subtitle)
}
}
@ -370,8 +370,8 @@ class PlayerViewController: UIViewController, VLCMediaDelegate, VLCMediaPlayerDe
deliveryUrl = nil
}
let subtitle = Subtitle(name: stream.displayTitle ?? "Unknown", id: Int32(stream.index!), url: deliveryUrl, delivery: stream.deliveryMethod!, codec: stream.codec ?? "webvtt")
if(subtitle.delivery != .encode) {
if subtitle.delivery != .encode {
subtitleTrackArray.append(subtitle)
}
}