mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-20 22:49:35 +08:00
Update README.md
update quickstart example
This commit is contained in:
@@ -81,7 +81,7 @@ func main() {
|
|||||||
/// Let GStreamer create a pipeline from the parsed launch syntax on the cli.
|
/// Let GStreamer create a pipeline from the parsed launch syntax on the cli.
|
||||||
pipeline, err := gst.NewPipelineFromString(pipelineString)
|
pipeline, err := gst.NewPipelineFromString(pipelineString)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Pipeline string cannot be empty")
|
fmt.Println(err)
|
||||||
os.Exit(2)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user