mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 16:06:55 +08:00
typo
This commit is contained in:
@@ -72,7 +72,7 @@ func buildPipeline() (*gst.Pipeline, error) {
|
||||
elements, err := gst.NewElementMany("queue", "audioconvert", "audioresample", "autoaudiosink")
|
||||
if err != nil {
|
||||
// We can create custom errors (with optional structures) and send them to the pipeline bus.
|
||||
// The first argument reflects the source of the error, th second is the error itself, followed by a debug string.
|
||||
// The first argument reflects the source of the error, the second is the error itself, followed by a debug string.
|
||||
msg := gst.NewErrorMessage(self, gst.NewGError(2, err), "Could not create elements for audio pipeline", nil)
|
||||
pipeline.GetPipelineBus().Post(msg)
|
||||
return
|
||||
|
Reference in New Issue
Block a user