mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-17 05:20:46 +08:00
cleanup gif example a bit more
This commit is contained in:
@@ -131,7 +131,7 @@ func encodeGif(mainLoop *gst.MainLoop) error {
|
|||||||
fmt.Println("Could not encode images to gif format!", err)
|
fmt.Println("Could not encode images to gif format!", err)
|
||||||
}
|
}
|
||||||
// Signal the pipeline that we've completed EOS
|
// Signal the pipeline that we've completed EOS
|
||||||
pipeline.GetPipelineBus().Post(gst.NewEOSMessage(appSink))
|
// pipeline.GetPipelineBus().Post(gst.NewEOSMessage(appSink))
|
||||||
},
|
},
|
||||||
NewSampleFunc: func(sink *app.Sink) gst.FlowReturn {
|
NewSampleFunc: func(sink *app.Sink) gst.FlowReturn {
|
||||||
// Increment the frame number counter
|
// Increment the frame number counter
|
||||||
|
Reference in New Issue
Block a user