mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-24 16:30:22 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -13,6 +13,8 @@ import (
|
||||
)
|
||||
|
||||
//export goGstPushSrcAlloc
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func goGstPushSrcAlloc(src *C.GstPushSrc, buf **C.GstBuffer) C.GstFlowReturn {
|
||||
var ret gst.FlowReturn
|
||||
var outbuf *gst.Buffer
|
||||
@@ -31,6 +33,8 @@ func goGstPushSrcAlloc(src *C.GstPushSrc, buf **C.GstBuffer) C.GstFlowReturn {
|
||||
}
|
||||
|
||||
//export goGstPushSrcCreate
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func goGstPushSrcCreate(src *C.GstPushSrc, buf **C.GstBuffer) C.GstFlowReturn {
|
||||
var ret gst.FlowReturn
|
||||
var outbuf *gst.Buffer
|
||||
@@ -49,6 +53,8 @@ func goGstPushSrcCreate(src *C.GstPushSrc, buf **C.GstBuffer) C.GstFlowReturn {
|
||||
}
|
||||
|
||||
//export goGstPushSrcFill
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func goGstPushSrcFill(src *C.GstPushSrc, buf *C.GstBuffer) C.GstFlowReturn {
|
||||
var ret gst.FlowReturn
|
||||
goPushSrc := ToGstPushSrc(&glib.Object{GObject: glib.ToGObject(unsafe.Pointer(src))})
|
||||
|
||||
Reference in New Issue
Block a user