Example #1
0
//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)))
}
Example #2
0
func (g *Graph) Free() {
	if g.CAVFilterGraph != nil {
		defer C.avfilter_graph_free(&g.CAVFilterGraph)
		g.CAVFilterGraph = nil
	}
}
Example #3
0
//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)))
}