mirror of
https://github.com/ziutek/gst.git
synced 2025-12-24 10:40:59 +08:00
19 lines
201 B
Go
19 lines
201 B
Go
package gst
|
|
|
|
/*
|
|
#include <gst/gst.h>
|
|
*/
|
|
import "C"
|
|
|
|
type Clock struct {
|
|
GstObj
|
|
}
|
|
|
|
func (c *Clock) g() *C.GstClock {
|
|
return (*C.GstClock)(c.GetPtr())
|
|
}
|
|
|
|
func (c *Clock) AsClock() *Clock {
|
|
return c
|
|
}
|