Trim extra UI rebuild guard
This commit is contained in:
parent
22e325e123
commit
a393183d83
6
main.go
6
main.go
|
|
@ -3930,9 +3930,6 @@ func (p *playSession) runVideo(offset float64) {
|
||||||
fmt.Printf("❌ FATAL: ffmpeg not found in PATH: %v\n", pathErr)
|
fmt.Printf("❌ FATAL: ffmpeg not found in PATH: %v\n", pathErr)
|
||||||
}
|
}
|
||||||
logging.Debug(logging.CatFFMPEG, "video start failed: %v (%s)", err, errMsg)
|
logging.Debug(logging.CatFFMPEG, "video start failed: %v (%s)", err, errMsg)
|
||||||
fyne.Do(func() {
|
|
||||||
dialog.ShowError(fmt.Errorf("Failed to start video decode: %v\n%s", err, errMsg), fyne.CurrentApp().Driver().AllWindows()[0])
|
|
||||||
})
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Printf("✅ FFmpeg started (PID: %d) in %.3fs\n", cmd.Process.Pid, time.Since(startTime).Seconds())
|
fmt.Printf("✅ FFmpeg started (PID: %d) in %.3fs\n", cmd.Process.Pid, time.Since(startTime).Seconds())
|
||||||
|
|
@ -3986,9 +3983,6 @@ func (p *playSession) runVideo(offset float64) {
|
||||||
fmt.Printf(" FFmpeg error: %s\n", msg)
|
fmt.Printf(" FFmpeg error: %s\n", msg)
|
||||||
}
|
}
|
||||||
logging.Debug(logging.CatFFMPEG, "video read failed: %v (%s)", err, msg)
|
logging.Debug(logging.CatFFMPEG, "video read failed: %v (%s)", err, msg)
|
||||||
fyne.Do(func() {
|
|
||||||
dialog.ShowError(fmt.Errorf("Video decode failed: %v\n%s", err, msg), fyne.CurrentApp().Driver().AllWindows()[0])
|
|
||||||
})
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user