[FFmpeg-devel] [PATCH] [2/??] [3/3] Filter graphs - Parser for a graph description

vmrsss vmrsss
Wed Mar 19 13:08:20 CET 2008


PS. Forgot to mention that in Vitor's syntax you have to make sure  
names are not repeated -- as eg in

	(in)(in) filter ...

--otherwise you'll run into trouble. The problem is how to make sure  
of this when you use filtergraphs from a library: eg (in an imaginary  
syntax which hopefully will make the issue clear to everybody)

	let filter be drawn from filtergraphs_public_lib
		in filter; filter

will never be OK (well, unless filter is empty), you will have to use

	let filter be drawn from filtergraphs_public_lib
		in filter;
		   (rename all inputs to avoid clashes)
			filter
		   (rename all outputs to avoid clashes)

so, it will not be enough to know how many inputs/outputs filter has,  
you'll have to know the exact names and order.

-vmrsss





More information about the ffmpeg-devel mailing list