some staticcheck fixes

This commit is contained in:
RSWilli
2023-09-02 00:04:14 +02:00
parent c1392706ff
commit 095e65c800
20 changed files with 70 additions and 67 deletions

View File

@@ -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.
//