mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 23:52:55 +08:00
fix -1 for ClockTimeNone
This commit is contained in:
@@ -39,7 +39,7 @@ const (
|
||||
type ClockTimeDiff int64
|
||||
|
||||
// ClockTimeNone means infinite timeout or an empty value
|
||||
var ClockTimeNone ClockTime = C.GST_CLOCK_TIME_NONE
|
||||
var ClockTimeNone ClockTime = 0xffffffffffffffff // Ideally this would be set to C.GST_CLOCK_TIME_NONE but this causes issues on MacOS and Windows
|
||||
|
||||
// BufferOffsetNone is a var for no-offset return results.
|
||||
var BufferOffsetNone time.Duration = time.Duration(-1)
|
||||
|
Reference in New Issue
Block a user