mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-07 00:43:29 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -30,6 +30,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 GstPushSrcImpl interface {
|
||||
// Asks the subclass to allocate a buffer. The subclass decides which size this buffer should be.
|
||||
// The default implementation will create a new buffer from the negotiated allocator.
|
||||
@@ -44,10 +46,18 @@ type GstPushSrcImpl interface {
|
||||
|
||||
type extendsPushSrc struct{ parent glib.Extendable }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsPushSrc) Type() glib.Type { return glib.Type(C.gst_push_src_get_type()) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsPushSrc) ClassSize() int64 { return int64(C.sizeof_GstPushSrcClass) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsPushSrc) InstanceSize() int64 { return int64(C.sizeof_GstPushSrc) }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsPushSrc) InitClass(klass unsafe.Pointer, elem glib.GoObjectSubclass) {
|
||||
e.parent.InitClass(klass, elem)
|
||||
|
||||
|
Reference in New Issue
Block a user