fix scrubbing tvos

This commit is contained in:
Ethan Pippin 2022-01-04 00:33:43 -07:00
parent e21aa66372
commit 1f199dc4f8
1 changed files with 0 additions and 2 deletions

View File

@ -657,8 +657,6 @@ extension VLCPlayerViewController: VLCMediaPlayerDelegate {
viewModel.sliderPercentage = Double(vlcMediaPlayer.position) viewModel.sliderPercentage = Double(vlcMediaPlayer.position)
} }
viewModel.sliderPercentage = Double(vlcMediaPlayer.position)
// Have to manually set playing because VLCMediaPlayer doesn't // Have to manually set playing because VLCMediaPlayer doesn't
// properly set it itself // properly set it itself
if abs(currentPlayerTicks - lastPlayerTicks) >= 10_000 { if abs(currentPlayerTicks - lastPlayerTicks) >= 10_000 {