We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Thank you for this repo.
I started a simple hello world, but I don't get how you run the main loop. Here is my faulty code
package main import "github.com/andre-hub/go-gstreamer" func main() { gst.Init(nil) pipeline, _ := gst.PipelineNew("player") filesrc, _ := gst.ElementFactoryMake("filesrc", "source-disk") decoder, _ := gst.ElementFactoryMake("decodebin", "decoder") pulsesink, _ := gst.ElementFactoryMake("pulsesink", "sink-pulse") filesrc.Set("location", "./audio.mp3") pipeline.Add(filesrc) pipeline.Add(decoder) pipeline.Add(pulsesink) filesrc.Link(decoder) decoder.Link(pulsesink) pipeline.SetState(gst.STATE_PLAYING) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Thank you for this repo.
I started a simple hello world, but I don't get how you run the main loop.
Here is my faulty code
The text was updated successfully, but these errors were encountered: