265d45183b 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: fix filtering frames with unknown channel layouts for filters needing writable frames  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								183ce55b0d 
								
							
								 
							
						 
						
							
							
								
								lavfi: split frame_count between input and output.  
							
							AVFilterLink.frame_count is supposed to count the number of frames
that were passed on the link, but with min_samples, that number is
not always the same for the source and destination filters.
With the addition of a FIFO on the link, the difference will become
more significant.
Split the variable in two: frame_count_in counts the number of
frames that entered the link, frame_count_out counts the number
of frames that were sent to the destination filter. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b1907142d 
								
							
								 
							
						 
						
							
							
								
								avfilter: add ff_filter_get_nb_threads()  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								449339084f 
								
							
								 
							
						 
						
							
							
								
								avfilter: add nb_threads to AVFilterContext  
							
							To be used in following commits. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b63b15663 
								
							
								 
							
						 
						
							
							
								
								lavfi: set the link hwframes context before configuring the dst input  
							
							The destination filter might expect the hw frames context to be already
set (this is the case e.g. for hwdownload). 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07a844f32e 
								
							
								 
							
						 
						
							
							
								
								lavfi: generic hardware surface upload and download filters  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3dd30db0b 
								
							
								 
							
						 
						
							
							
								
								lavfi: pass the hw frames context through the filter chain  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1655788712 
								
							
								 
							
						 
						
							
							
								
								lavfi: make request_frame() non-recursive.  
							
							Instead of calling the input filter request_frame() method,
ff_request_frame() now marks the link and returns immediately.
buffersink is changed to activate the marked filters until
a frame is obtained. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								108b4de552 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace link.closed by link.status.  
							
							The status field can carry any error code instead of just EOF.
Also only update it through a wrapper function and provide a timestamp.
Update the few filters that used it directly. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8b7d5ac6c 
								
							
								 
							
						 
						
							
							
								
								lavfi: add link.current_pts field.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d03eab34dd 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename link.current_pts to current_pts_us.  
							
							This field is used for fast comparison between link ages,
it is in AV_TIME_BASE units, in other words microseconds,
µs =~ us.
Renaming it allows a second field in link time base units. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c59d40ae0 
								
							
								 
							
						 
						
							
							
								
								lavfi: use a video frame pool for each link of the filtergraph  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48ff6683ba 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a frame_rate field to AVFilterLink.  
							
							(cherry picked from ffmpeg commit 7b42036b3b 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87d5509261 
								
							
								 
							
						 
						
							
							
								
								avfilter: Reindent  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								377883c4be 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: Error out if audio parameters change instead of failing an assert  
							
							Filters which support such changes should be excluded from these checks
Fixes Ticket4884
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44f660e7e7 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.  
							
							It has no longer any effect. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a351f6c55 
								
							
								 
							
						 
						
							
							
								
								lavfi: drop the requirement that request_frame returns a frame.  
							
							It requires a loop in filters or the framework,
that makes the scheduling less efficient and more complex.
This is purely an internal change since the loop is now
present in buffersink.
Note that no filter except buffersink did rely on the requirement. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d859e5980 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: Add a few more basic filters to the list which support frame size changes  
							
							Fixes assertion failures
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e65e4cbbda 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated *_count suffixed variables  
							
							Deprecated in 06/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6495c4c687 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad7d972e08 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error message to help users convert to new lavfi syntax.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13b3462b7a 
								
							
								 
							
						 
						
							
							
								
								avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8bd74aafe8 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove obsolete function declarations  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a3eb042c7 
								
							
								 
							
						 
						
							
							
								
								Replace av_dlog with normal av_log at trace level  
							
							This applies to every library where performance is not critical. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88b160a457 
								
							
								 
							
						 
						
							
							
								
								avfilter: Return more meaningful error codes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b288f67434 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: Remove CONFIG_MP_FILTER case  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c702c3c63 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: allow idet like scale to have parameter changes  
							
							Fixes assertion failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								649c158e8c 
								
							
								 
							
						 
						
							
							
								
								Add FFMPEG_VERSION into the binary libs  
							
							This simplifies identifying from which revision a binary of a lib came from
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac84c1ce24 
								
							
								 
							
						 
						
							
							
								
								avfilter: check filter link validity  
							
							Remove now redundant check.
CC: libav-stable@libav.org 
Bug-Id: CID 700371 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abaf4245a1 
								
							
								 
							
						 
						
							
							
								
								avfilter: add w/h parameters in timeline  
							
							Fixes Ticket #4008 . 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9ddbaa924 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: use av_malloc(z)_array()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bba2a7cc5f 
								
							
								 
							
						 
						
							
							
								
								lavfi: use the correct filter context for logging an error.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41003da94a 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: fix use of uninitialized pointer  
							
							Fixes CID1163852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abb5e37f64 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix leaks on error in ff_filter_frame  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0a33c4770 
								
							
								 
							
						 
						
							
							
								
								avfilter: avfilter_register() that works in O(1) time  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								133fbfc781 
								
							
								 
							
						 
						
							
							
								
								do O(1) instead of O(n) atomic operations in register functions  
							
							about 1ms faster startup time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								884c7a6eb8 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix const use of avfilter_next  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c439b41d0 
								
							
								 
							
						 
						
							
							
								
								avfilter: have avfilter_get_by_name return const for next bump  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab2bfb85d4 
								
							
								 
							
						 
						
							
							
								
								avfilter/ff_insert_pad: fix order of operations  
							
							Fixes out of bounds access
Fixes CID732170
Fixes CID732169
No filter is known to use this function in a way so the issue can be reproduced.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8780f7fbfa 
								
							
								 
							
						 
						
							
							
								
								avfilter/ff_filter_frame_needs_framing: fix handling of AV_NOPTS_VALUE  
							
							Fixes Ticket3015
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0767bfd199 
								
							
								 
							
						 
						
							
							
								
								lavfi: allow user-provided execute() callbacks  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bc7a2a64b 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove duplicate includes  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dfc5f551f 
								
							
								 
							
						 
						
							
							
								
								avfilter: avoid testing float == 0  
							
							This fixes the hypothetical case of rounding errors causing
incorrect values to be used.
We do not use *_EPSILON, because non trivial expressions can contain
errors larger than that making a zero equality test with *_EPSILON
unreliable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								211a185cba 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: check allocation failure in ff_insert_pad()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb23bf8fd7 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: fix null pointer dereference with queued ping filters  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5a138652f 
								
							
								 
							
						 
						
							
							
								
								Give less generic names to global library option arrays  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2236456715 
								
							
								 
							
						 
						
							
							
								
								avfilter/avfilter: Make avfilter_register() thread safe  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ed56b3b39 
								
							
								 
							
						 
						
							
							
								
								avfilter/process_options: fix memleak  
							
							Fixes CID1026765
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2abd58a09 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove av_opt_set_defaults() from process_options()  
							
							This is already called from ff_filter_alloc()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago