add a bit more to examples

This commit is contained in:
tinyzimmer
2020-10-03 17:19:16 +03:00
parent fa165ecf85
commit 2ffdae9e9e
2 changed files with 43 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ func createPipeline() (*gst.Pipeline, error) {
return nil, err
}
// Should this actually be a *gst.Element that produces an Appsink interface like the
// rust examples?
sink, err := app.NewAppSink()
if err != nil {
return nil, err