mirror of
https://github.com/go-gst/go-gst.git
synced 2025-09-26 20:11:18 +08:00
29 lines
731 B
Go
29 lines
731 B
Go
//lint:file-ignore U1000 Ignore all unused code, this is example code
|
|
|
|
// +plugin:Name=boilerplate
|
|
// +plugin:Description=My plugin written in go
|
|
// +plugin:Version=v0.0.1
|
|
// +plugin:License=gst.LicenseLGPL
|
|
// +plugin:Source=go-gst
|
|
// +plugin:Package=examples
|
|
// +plugin:Origin=https://github.com/go-gst/go-gst
|
|
// +plugin:ReleaseDate=2021-01-18
|
|
//
|
|
// +element:Name=myelement
|
|
// +element:Rank=gst.RankNone
|
|
// +element:Impl=myelement
|
|
// +element:Subclass=gst.ExtendsElement
|
|
//
|
|
//go:generate gst-plugin-gen
|
|
package main
|
|
|
|
import "github.com/go-gst/go-glib/glib"
|
|
|
|
func main() {}
|
|
|
|
type myelement struct{}
|
|
|
|
func (g *myelement) New() glib.GoObjectSubclass { return &myelement{} }
|
|
|
|
func (g *myelement) ClassInit(klass *glib.ObjectClass) {}
|