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

@@ -13,7 +13,6 @@ import (
"errors"
"fmt"
"math"
"time"
"github.com/go-gst/go-glib/glib"
"github.com/go-gst/go-gst/examples"
@@ -87,7 +86,7 @@ func padProbes(mainLoop *glib.MainLoop) error {
// Block on messages coming in from the bus instead of using the main loop
for {
msg := pipeline.GetPipelineBus().TimedPop(time.Duration(-1))
msg := pipeline.GetPipelineBus().TimedPop(gst.ClockTimeNone)
if msg == nil {
break
}