Major improvements to UnifiedPlayer: 1. GetFrameImage() now works when paused for responsive UI updates 2. Play() method properly starts FFmpeg process 3. Frame display loop runs continuously for smooth video display 4. Disabled audio temporarily to fix video playback fundamentals 5. Simplified FFmpeg command to focus on video stream only Player now: - Generates video frames correctly - Shows video when paused - Has responsive progress tracking - Starts playback properly Next steps: Re-enable audio playback once video is stable
22 lines
617 B
Go
22 lines
617 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2022 The Ebitengine Authors
|
|
|
|
//go:build cgo && !(amd64 || arm64 || loong64)
|
|
|
|
package purego
|
|
|
|
import (
|
|
"github.com/ebitengine/purego/internal/cgo"
|
|
)
|
|
|
|
var syscall15XABI0 = uintptr(cgo.Syscall15XABI0)
|
|
|
|
//go:nosplit
|
|
func syscall_syscall15X(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2, err uintptr) {
|
|
return cgo.Syscall15X(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15)
|
|
}
|
|
|
|
func NewCallback(_ any) uintptr {
|
|
panic("purego: NewCallback on Linux is only supported on amd64/arm64/loong64")
|
|
}
|