mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
fix handling and displaying captions
fixes #490 It also fixes the caption picker being empty when a caption was selected in the previous watched video.
This commit is contained in:
@@ -264,6 +264,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