Ejemplo n.º 1
0
func (g *Graph) Config() error {
	code := C.avfilter_graph_config(g.CAVFilterGraph, nil)
	if code < 0 {
		return avutil.NewErrorFromCode(avutil.ErrorCode(code))
	}
	return nil
}
Ejemplo n.º 2
0
//int 	avfilter_graph_config (AVFilterGraph *graphctx, void *log_ctx)
//Check validity and configure all the links and formats in the graph.
func Avfilter_graph_config(g *AVFilterGraph, l int) int {
	return int(C.avfilter_graph_config((*C.struct_AVFilterGraph)(g), unsafe.Pointer(&l)))
}