Skip to content

Commit

Permalink
Merge pull request #2076 from F0x1/2.2.z
Browse files Browse the repository at this point in the history
Fix: Remove conflicting metadata assignments to resolve audio switching
  • Loading branch information
jimdogx authored Dec 16, 2024
2 parents a3edb05 + 1e8bbc6 commit c9b6cc4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/video/VideoPlayerView.bs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ sub onSubtitleChange()
m.top.control = "stop"

m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle
m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex
m.LoadMetaDataTask.itemId = m.currentItem.id
m.LoadMetaDataTask.observeField("content", "onVideoContentLoaded")
m.LoadMetaDataTask.control = "RUN"
Expand All @@ -346,7 +345,6 @@ sub onAudioIndexChange()

m.top.control = "stop"

m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle
m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex
m.LoadMetaDataTask.itemId = m.currentItem.id
m.LoadMetaDataTask.observeField("content", "onVideoContentLoaded")
Expand Down

0 comments on commit c9b6cc4

Please sign in to comment.