Fix unified player load err scoping
This commit is contained in:
parent
de4416868e
commit
0b17b447bc
|
|
@ -185,8 +185,7 @@ func (p *UnifiedPlayer) Load(path string, offset time.Duration) error {
|
|||
}
|
||||
|
||||
// Start FFmpeg process for unified A/V output
|
||||
err = p.startVideoProcess()
|
||||
if err != nil {
|
||||
if err := p.startVideoProcess(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user