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
32 lines
594 B
Go
32 lines
594 B
Go
// Code generated by glow (https://github.com/go-gl/glow). DO NOT EDIT.
|
|
|
|
package gl
|
|
|
|
import "C"
|
|
import "unsafe"
|
|
|
|
type DebugProc func(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message string,
|
|
userParam unsafe.Pointer)
|
|
|
|
var userDebugCallback DebugProc
|
|
|
|
//export glowDebugCallback_gl21
|
|
func glowDebugCallback_gl21(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message *uint8,
|
|
userParam unsafe.Pointer) {
|
|
if userDebugCallback != nil {
|
|
userDebugCallback(source, gltype, id, severity, length, GoStr(message), userParam)
|
|
}
|
|
}
|