forked from Leak_Technologies/VideoTools
Keep player session alive and stop repeated rebuilds
This commit is contained in:
parent
47067aabf0
commit
22e325e123
5
main.go
5
main.go
|
|
@ -581,8 +581,7 @@ func (s *appState) showPlayerView() {
|
|||
fmt.Printf("📺 already in player view; skipping rebuild\n")
|
||||
return
|
||||
}
|
||||
s.stopPreview()
|
||||
// Keep playSess alive; only stop compare sessions to avoid killing playback.
|
||||
// Do not stop the player; only clear compare previews.
|
||||
s.stopCompareSessions()
|
||||
s.active = "player"
|
||||
fmt.Printf("📺 s.source is nil: %v\n", s.source == nil)
|
||||
|
|
@ -656,8 +655,6 @@ func (s *appState) showPlayerView() {
|
|||
}
|
||||
}()
|
||||
}
|
||||
|
||||
refresh()
|
||||
})
|
||||
keyframeModeItem.Checked = s.keyframingMode
|
||||
toolsMenu.Items = append(toolsMenu.Items, keyframeModeItem)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user