mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-08 01:11:28 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -64,6 +64,8 @@ var (
|
||||
// be implemented in it's entirety. Each of the methods it declares will be checked for their presence
|
||||
// in the initializing object, and if the object declares an override it will replace the default
|
||||
// implementation in the virtual methods.
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
type GstBaseSrcImpl interface {
|
||||
// GetCaps retrieves the caps for this class.
|
||||
GetCaps(*GstBaseSrc, *gst.Caps) *gst.Caps
|
||||
@@ -112,12 +114,20 @@ type GstBaseSrcImpl interface {
|
||||
|
||||
type extendsBaseSrc struct{ parent glib.Extendable }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseSrc) Type() glib.Type { return glib.Type(C.gst_base_src_get_type()) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseSrc) ClassSize() int64 { return int64(C.sizeof_GstBaseSrcClass) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseSrc) InstanceSize() int64 { return int64(C.sizeof_GstBaseSrc) }
|
||||
|
||||
// InitClass iterates the methods provided by the element and overrides any provided
|
||||
// in the virtual methods.
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseSrc) InitClass(klass unsafe.Pointer, elem glib.GoObjectSubclass) {
|
||||
e.parent.InitClass(klass, elem)
|
||||
|
||||
|
Reference in New Issue
Block a user