mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 15:42:52 +08:00
some staticcheck fixes
This commit is contained in:
@@ -21,11 +21,9 @@ import (
|
||||
"github.com/go-gst/go-gst/gst"
|
||||
)
|
||||
|
||||
var srcURI string
|
||||
|
||||
func playbin(mainLoop *glib.MainLoop) error {
|
||||
if len(os.Args) < 2 {
|
||||
return errors.New("Usage: playbin <uri>")
|
||||
return errors.New("usage: playbin <uri>")
|
||||
}
|
||||
|
||||
gst.Init(nil)
|
||||
|
Reference in New Issue
Block a user