예제 #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)))
}