another typo

This commit is contained in:
tinyzimmer
2020-10-04 19:07:52 +03:00
parent 172ebc7c7e
commit 48388aa1cd

View File

@@ -61,7 +61,7 @@ func encodeGif(mainLoop *gst.MainLoop) error {
// Build out the rest of the elements for the pipeline pipeline. // Build out the rest of the elements for the pipeline pipeline.
elements, err := gst.NewElementMany("queue", "videoconvert", "videoscale", "videorate", "jpegenc") elements, err := gst.NewElementMany("queue", "videoconvert", "videoscale", "videorate", "jpegenc")
if err != nil { if err != nil {
// The Bus PostError method is a convenient wrapper for building rich messages and sending them // The Bus PostError method is a convenience wrapper for building rich messages and sending them
// down the pipeline. The below call will create a new error message, populate the debug info // down the pipeline. The below call will create a new error message, populate the debug info
// with a stack trace from this goroutine, and add additional details from the provided error. // with a stack trace from this goroutine, and add additional details from the provided error.
pipeline.GetPipelineBus().PostError(self, "Failed to build elements for the linked pipeline", err) pipeline.GetPipelineBus().PostError(self, "Failed to build elements for the linked pipeline", err)