change clockTime type, add more bindings

This commit is contained in:
RSWilli
2023-08-11 14:39:32 +02:00
parent d0fc9e926a
commit ca1a83e57d
21 changed files with 400 additions and 206 deletions

View File

@@ -6,7 +6,6 @@ import (
"math"
"os"
"os/signal"
"time"
"github.com/go-gst/go-gst/examples"
"github.com/go-gst/go-gst/gst"
@@ -116,7 +115,7 @@ func mainLoop(pipeline *gst.Pipeline) error {
// Loop over messsages from the pipeline
for {
msg := bus.TimedPop(time.Duration(-1))
msg := bus.TimedPop(gst.ClockTimeNone)
if msg == nil {
break
}