mirror of
https://github.com/go-gst/go-gst.git
synced 2025-11-02 04:22:41 +08:00
add callasync and clean up examples
This commit is contained in:
@@ -53,6 +53,7 @@ func createPipeline() (*gst.Pipeline, error) {
|
||||
if sample == nil {
|
||||
return gst.FlowEOS
|
||||
}
|
||||
defer sample.Unref()
|
||||
|
||||
// Retrieve the buffer from the sample
|
||||
buffer := sample.GetBuffer()
|
||||
|
||||
Reference in New Issue
Block a user