fix up casting functions

This commit is contained in:
Avi Zimmerman
2021-01-17 19:16:24 +02:00
parent 56afdb35c0
commit 56857316ab
18 changed files with 1004 additions and 33 deletions

View File

@@ -425,7 +425,7 @@ func (w *websocketSrc) ClassInit(klass *glib.ObjectClass) {
}
// * Object * //
func (w *websocketSrc) SetProperty(self *gst.Object, id uint, value *glib.Value) {
func (w *websocketSrc) SetProperty(self *glib.Object, id uint, value *glib.Value) {
prop := properties[id]
switch prop.Name() {
@@ -482,7 +482,7 @@ func (w *websocketSrc) SetProperty(self *gst.Object, id uint, value *glib.Value)
}
}
func (w *websocketSrc) GetProperty(self *gst.Object, id uint) *glib.Value {
func (w *websocketSrc) GetProperty(self *glib.Object, id uint) *glib.Value {
prop := properties[id]
var localVal interface{}
@@ -511,7 +511,7 @@ func (w *websocketSrc) GetProperty(self *gst.Object, id uint) *glib.Value {
return val
}
func (w *websocketSrc) Constructed(self *gst.Object) {
func (w *websocketSrc) Constructed(self *glib.Object) {
elem := gst.ToElement(self)
w.setupSrcPad(elem)
}