mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 09:28:15 +00:00
Merge pull request #636 from stonerl/captions
fix handling and displaying captions
This commit is contained in:
@@ -275,6 +275,10 @@ final class MPVBackend: PlayerBackend {
|
||||
|
||||
self.startClientUpdates()
|
||||
|
||||
// Captions should only be displayed when selected by the user,
|
||||
// not when the video starts. So, we remove them.
|
||||
self.client?.removeSubs()
|
||||
|
||||
if !preservingTime,
|
||||
!upgrading,
|
||||
let segment = self.model.sponsorBlock.segments.first,
|
||||
|
Reference in New Issue
Block a user