mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 16:06:55 +08:00
some staticcheck fixes
This commit is contained in:
@@ -29,6 +29,10 @@ func padProbes(mainLoop *glib.MainLoop) error {
|
||||
"audiotestsrc name=src ! audio/x-raw,format=S16LE,channels=1 ! fakesink",
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Get the audiotestsrc element from the pipeline that GStreamer
|
||||
// created for us while parsing the launch syntax above.
|
||||
//
|
||||
|
Reference in New Issue
Block a user