mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 23:52:55 +08:00
change module name and use new golang version
This commit is contained in:
@@ -10,11 +10,8 @@
|
||||
//
|
||||
// In order to build the plugin for use by GStreamer, you can do the following:
|
||||
//
|
||||
// $ go generate
|
||||
// $ go build -o libgstgofilesink.so -buildmode c-shared .
|
||||
//
|
||||
//
|
||||
//go:generate gst-plugin-gen
|
||||
// $ go generate
|
||||
// $ go build -o libgstgofilesink.so -buildmode c-shared .
|
||||
//
|
||||
// +plugin:Name=gofilesink
|
||||
// +plugin:Description=File plugins written in go
|
||||
@@ -22,7 +19,7 @@
|
||||
// +plugin:License=gst.LicenseLGPL
|
||||
// +plugin:Source=go-gst
|
||||
// +plugin:Package=examples
|
||||
// +plugin:Origin=https://github.com/tinyzimmer/go-gst
|
||||
// +plugin:Origin=https://github.com/go-gst/go-gst
|
||||
// +plugin:ReleaseDate=2021-01-04
|
||||
//
|
||||
// +element:Name=gofilesink
|
||||
@@ -31,6 +28,7 @@
|
||||
// +element:Subclass=base.ExtendsBaseSink
|
||||
// +element:Interfaces=gst.InterfaceURIHandler
|
||||
//
|
||||
//go:generate gst-plugin-gen
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -40,9 +38,9 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/tinyzimmer/go-glib/glib"
|
||||
"github.com/tinyzimmer/go-gst/gst"
|
||||
"github.com/tinyzimmer/go-gst/gst/base"
|
||||
"github.com/go-gst/go-glib/glib"
|
||||
"github.com/go-gst/go-gst/gst"
|
||||
"github.com/go-gst/go-gst/gst/base"
|
||||
)
|
||||
|
||||
// main is left unimplemented since these files are compiled to c-shared.
|
||||
|
Reference in New Issue
Block a user