示例#1
0
文件: avfilter.go 项目: hyhy01/goav
//void 	avfilter_graph_free (AVFilterGraph **graph)
//Free a graph, destroy its links, and set *graph to NULL.
func Avfilter_graph_free(g **AVFilterGraph) {
	C.avfilter_graph_free((**C.struct_AVFilterGraph)(unsafe.Pointer(g)))
}
示例#2
0
func (g *Graph) Free() {
	if g.CAVFilterGraph != nil {
		defer C.avfilter_graph_free(&g.CAVFilterGraph)
		g.CAVFilterGraph = nil
	}
}
示例#3
0
文件: graph.go 项目: gale320/goav
//Free a graph, destroy its links, and set *graph to NULL.
func (g *Graph) AvfilterGraphFree() {
	C.avfilter_graph_free((**C.struct_AVFilterGraph)(unsafe.Pointer(g)))
}