1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d900aa4d0 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove disabled FF_API_GRAPH_AVCLASS cruft  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9baeff9506 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs  
							
							This is more consistent with naming in the rest of Libav. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aff01de641 
								
							
								 
							
						 
						
							
							
								
								graphparser: set next to NULL on an entry extracted from inputs list  
							
							Prevents it from referring to the rest of the list. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7af99a01c4 
								
							
								 
							
						 
						
							
							
								
								graphparser: fix the order in which unlabeled input links are returned.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91d3cbe0fd 
								
							
								 
							
						 
						
							
							
								
								avfiltergraph: make the AVFilterInOut alloc/free API public  
							
							This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12e7e1d03e 
								
							
								 
							
						 
						
							
							
								
								graphparser: allow specifying sws flags in the graph description.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e781c25b7 
								
							
								 
							
						 
						
							
							
								
								graphparser: fix the order of connecting unlabeled links.  
							
							Right now, e.g. scale,[in]overlay would connect scale to the first
overlay input and [in] to the second, which goes against the
documentation and is unintuitive.
The bug happens because of the ordering mess in curr_inputs variable:
1) the unlabeled links from the previous filter are added to it in
correct order
2) input labels are parsed and inserted to the beginning one by one
(i.e. in reverse order)
3) curr_inputs is matched against filter inputs in reverse order
Fix the problem by always using proper ordering without trying to be
clever. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7bcc71dad 
								
							
								 
							
						 
						
							
							
								
								graphparser: add avfilter_graph_parse2().  
							
							Unlike avfilter_graph_parse(), it returns unlinked inputs and outputs
to the caller, which allows parsing of graphs where inputs/outputs are
not known in advance. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57fa314090 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()  
							
							Require "void *" rather than "AVClass *" for the log context type.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64abd375ec 
								
							
								 
							
						 
						
							
							
								
								graphparser: prefer void * over AVClass * for log contexts  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96c1e6d40d 
								
							
								 
							
						 
						
							
							
								
								doxygen: Make sure parameter names match between .c and .h files.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24c9babaaf 
								
							
								 
							
						 
						
							
							
								
								doxygen: Fix parameter names to match the function prototypes.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f80b381bfd 
								
							
								 
							
						 
						
							
							
								
								graphparser: add a NULL check on the argument passed to strstr  
							
							Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8e5dde779 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_graph_parse() not free the input graph  
							
							Make avfilter_graph_parse() only release the internal structures
allocated during the parsing, and leave to free the graph itself to
the calling code.
This approach looks cleaner, as the graph is not allocated by the
function.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bf3fc0e54 
								
							
								 
							
						 
						
							
							
								
								Add the word "Parsed" in the parsed filter names.  
							
							Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9241cd2095 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_parse_graph() output a more meaningful message when an  
							
							invalid filterchain is detected.
Originally committed as revision 25936 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fa77bde1b 
								
							
								 
							
						 
						
							
							
								
								In libavfilter, use consistently "Copyright (c)" in the license  
							
							headers.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0985e1a3ca 
								
							
								 
							
						 
						
							
							
								
								move the av_parse_color() function from libavfilter to libavcore  
							
							Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								668673f10c 
								
							
								 
							
						 
						
							
							
								
								Add missing check on the existence of an associated output pad for  
							
							each specified output link label.
Fix crash.
Originally committed as revision 25723 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24de0edbd5 
								
							
								 
							
						 
						
							
							
								
								Rename avfilter_destroy() as avfilter_free().  
							
							The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e80a0eaa4 
								
							
								 
							
						 
						
							
							
								
								Remove graphparser.h header, move AVFilterInOut and  
							
							avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55b2a9ba3b 
								
							
								 
							
						 
						
							
							
								
								Extend documentation for parse_filter().  
							
							Originally committed as revision 25703 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7313132bcc 
								
							
								 
							
						 
						
							
							
								
								Rename AVFilterInOut field filter to filter_ctx, more semantically correct.  
							
							Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c24f76b948 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_graph_parse() always return meaningful error codes.  
							
							Originally committed as revision 25699 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cc8b65950 
								
							
								 
							
						 
						
							
							
								
								Make parse_outputs() always return meaningful error codes.  
							
							Originally committed as revision 25698 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00b3ca3c7a 
								
							
								 
							
						 
						
							
							
								
								Add missing memory check in parse_inputs(), and fix possible (yet very unlikely) crash.  
							
							Originally committed as revision 25697 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42e7f6d781 
								
							
								 
							
						 
						
							
							
								
								Make parse_inputs() return AVERROR(EINVAL) rather than -1 in case the  
							
							link label parsed by parse_link_name() is invalid.
Originally committed as revision 25696 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbd97184f8 
								
							
								 
							
						 
						
							
							
								
								Add missing check in link_filter_inouts(), and fix possible (yet very unlikely) crash.  
							
							Originally committed as revision 25695 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed581e65e2 
								
							
								 
							
						 
						
							
							
								
								Rename the variable filter to filt_ctx in link_filter_inouts, as the variable denotes a filter context.  
							
							Less confusing.
Originally committed as revision 25694 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								684ade4935 
								
							
								 
							
						 
						
							
							
								
								Make link_filter_inouts() return meaningful error codes.  
							
							Originally committed as revision 25693 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								688b9dad9c 
								
							
								 
							
						 
						
							
							
								
								Change the signature of parse_filter() to make it return an error code.  
							
							Originally committed as revision 25692 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c58572f87b 
								
							
								 
							
						 
						
							
							
								
								Change the signature of create_filter() to make it return an error code.  
							
							Originally committed as revision 25691 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97dd1e4a87 
								
							
								 
							
						 
						
							
							
								
								Rename avfilter_graph_destroy() to avfilter_graph_free().  
							
							The new name is shorter and more consistent with the rest of the API.
This change breaks libavfilter API/ABI.
Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								372e288408 
								
							
								 
							
						 
						
							
							
								
								Move av_get_token() from libavfilter to libavutil.  
							
							Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84c0386960 
								
							
								 
							
						 
						
							
							
								
								Change avfilter_open() signature, from:  
							
							AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
This way it is possible to propagate an error code telling the reason
of the failure.
Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98137a1a5b 
								
							
								 
							
						 
						
							
							
								
								Document create_filter().  
							
							Originally committed as revision 24423 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2874a9d59 
								
							
								 
							
						 
						
							
							
								
								Add simple doxy to link_filter().  
							
							Originally committed as revision 24422 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94b2120dfb 
								
							
								 
							
						 
						
							
							
								
								Fix documentation for parse_link_name().  
							
							Originally committed as revision 24421 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb90d855d7 
								
							
								 
							
						 
						
							
							
								
								Consistently use Uppercase for the first character of the log  
							
							messages.
Originally committed as revision 24420 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99ac59ca69 
								
							
								 
							
						 
						
							
							
								
								Make link_filter() propagate the generated error code.  
							
							Originally committed as revision 24419 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f219eee592 
								
							
								 
							
						 
						
							
							
								
								Fix style: "if(" -> "if (".  
							
							Originally committed as revision 24418 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b504981483 
								
							
								 
							
						 
						
							
							
								
								Use default graph swscale opts when no opts are supplied  
							
							Originally committed as revision 24016 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03c3bb5c5a 
								
							
								 
							
						 
						
							
							
								
								use filter name when graph parser add filters  
							
							Originally committed as revision 23147 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15a316c014 
								
							
								 
							
						 
						
							
							
								
								Make parse_filter() parsing more robust.  
							
							Add ';' and '\n' to the terminating characters for the name of a
filter, and ';' to the terminating characters for its args.
Originally committed as revision 20800 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b755a754d1 
								
							
								 
							
						 
						
							
							
								
								"[" is a terminating char for the filter name. This fixes the parsing of  
							
							things like
[in] vflip [out];
Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd04911c4e 
								
							
								 
							
						 
						
							
							
								
								Make graphparser.c use av_get_token().  
							
							This also avoids the need for '\=' escaping.
Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd548e5bd6 
								
							
								 
							
						 
						
							
							
								
								Remove consume_whitespace() and replace it with direct calls to  
							
							strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86a47378d5 
								
							
								 
							
						 
						
							
							
								
								Rename avfilter_parse_graph() to avfilter_graph_parse(), for better  
							
							consistency with the rest of the API.
Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago