mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 07:56:51 +08:00
major rework of reference handling
This commit is contained in:
@@ -54,10 +54,7 @@ func runPipeline(mainLoop *glib.MainLoop) error {
|
||||
pipeline.SetState(gst.StatePlaying)
|
||||
|
||||
// Block on the main loop
|
||||
mainLoop.Run()
|
||||
|
||||
// Destroy the pipeline
|
||||
return pipeline.Destroy()
|
||||
return mainLoop.RunError()
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user