Remove unused helper function from ffplay.go

The `PrepareBackgroundCommand` function has been removed because it prevents the program window from being displayed on Windows.
This commit is contained in:
Leonid Nikitin 2025-05-25 22:51:59 +05:00
parent 5ab11922b9
commit 7340f43d6e
Signed by: kor-elf
GPG Key ID: DAB5355A11C22541

View File

@ -1,7 +1,6 @@
package kernel
import (
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper"
"os/exec"
)
@ -24,7 +23,6 @@ func NewFFplay(ffPathUtilities *FFPathUtilities) *FFplay {
func (ffplay FFplay) Run(setting FFplaySetting) error {
args := []string{setting.PathToFile}
cmd := exec.Command(ffplay.ffPathUtilities.FFplay, args...)
helper.PrepareBackgroundCommand(cmd)
return cmd.Start()
}