mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 15:42:52 +08:00
major move of all glib specific bindings and extendable objects from go runtime to go-glib package
This commit is contained in:
@@ -9,11 +9,12 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/tinyzimmer/go-glib/glib"
|
||||
"github.com/tinyzimmer/go-gst/examples"
|
||||
"github.com/tinyzimmer/go-gst/gst"
|
||||
)
|
||||
|
||||
func runPipeline(mainLoop *gst.MainLoop) error {
|
||||
func runPipeline(mainLoop *glib.MainLoop) error {
|
||||
gst.Init(nil)
|
||||
|
||||
if len(os.Args) == 1 {
|
||||
@@ -60,7 +61,7 @@ func runPipeline(mainLoop *gst.MainLoop) error {
|
||||
}
|
||||
|
||||
func main() {
|
||||
examples.RunLoop(func(loop *gst.MainLoop) error {
|
||||
examples.RunLoop(func(loop *glib.MainLoop) error {
|
||||
return runPipeline(loop)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user