mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 07:56:51 +08:00
regenerate with new casing rules
This commit is contained in:
@@ -31,7 +31,7 @@ func main() {
|
||||
go func() {
|
||||
for msg := range pipeline.GetBus().Messages(ctx) {
|
||||
switch msg.Type() {
|
||||
case gst.MessageEos: // When end-of-stream is received stop the main loop
|
||||
case gst.MessageEOS: // When end-of-stream is received stop the main loop
|
||||
fmt.Println("End-of-stream received")
|
||||
cancel()
|
||||
case gst.MessageError: // Error messages are always fatal
|
||||
|
Reference in New Issue
Block a user