mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-09 01:40:43 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -71,6 +71,8 @@ var (
|
||||
//
|
||||
// For more information:
|
||||
// https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html?gi-language=c
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
type GstBaseTransformImpl interface {
|
||||
// Optional. Subclasses can override this method to check if caps can be handled by the element.
|
||||
// The default implementation might not be the most optimal way to check this in all cases.
|
||||
@@ -153,10 +155,18 @@ type GstBaseTransformImpl interface {
|
||||
|
||||
type extendsBaseTransform struct{ parent glib.Extendable }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseTransform) Type() glib.Type { return glib.Type(C.gst_base_transform_get_type()) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseTransform) ClassSize() int64 { return int64(C.sizeof_GstBaseTransformClass) }
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseTransform) InstanceSize() int64 { return int64(C.sizeof_GstBaseTransform) }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (e *extendsBaseTransform) InitClass(klass unsafe.Pointer, elem glib.GoObjectSubclass) {
|
||||
e.parent.InitClass(klass, elem)
|
||||
|
||||
|
Reference in New Issue
Block a user