Michael Niedermayer
							
						 
						
							
							
							
								
							
								11f87ca71e 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: also set AVFilterLink.frame_rate  
							
							 
							
							 
							
							
								
							
							
							(cherry picked from ffmpeg commit 353cf95f94 )
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Ganesh Ajjanagadde
							
						 
						
							
							
							
								
							
								430f943e63 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_frei0r: use av_strtod instead of strtod for added flexibility  
							
							 
							
							 
							
							
								
							
							
							This converts the usage of strtod to av_strtod in order to unify and
make number parsing more consistent. This also adds support for SI
postfixes.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Ganesh Ajjanagadde
							
						 
						
							
							
							
								
							
								6aaac24d72 
								
							
								 
							
						 
						
							
							
								
								avfilter/all: propagate errors of functions from avfilter/formats  
							
							 
							
							 
							
							
								
							
							
							Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM).
This propagates the return values.
All of these were found by using av_warn_unused_result, demonstrating its utility.
Tested with FATE. I am least sure of the changes to avfilter/filtergraph,
since I don't know what/how reduce_format is intended to behave and how it should
react to errors.
Fixes: CID 1325680, 1325679, 1325678.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Previous version Reviewed-by: Nicolas George <george@nsup.org>
Previous version Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								a0854c084e 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() in bunch of filters  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								e0623953e1 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_frei0r: fix build with DEBUG enabled  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								353cf95f94 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_frei0r: also set AVFilterLink.frame_rate  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Vittorio Giovara
							
						 
						
							
							
							
								
							
								d0b224054f 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: do not increment string if it reached the end  
							
							 
							
							 
							
							
								
							
							
							Bug-Id: 778
CC: libav-stable@libav.org  
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Vittorio Giovara
							
						 
						
							
							
							
								
							
								4c41a7a179 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: fix missing end of line character  
							
							 
							
							 
							
							
								
							
							
							Error introduced in 61b323ce7c . 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Vittorio Giovara
							
						 
						
							
							
							
								
							
								61b323ce7c 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: refactor library loading from env variable  
							
							 
							
							 
							
							
								
							
							
							strtok_r is not needed any more, so remove it from configure. 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Vittorio Giovara
							
						 
						
							
							
							
								
							
								4e0be9c86f 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: prevent a segfault when filter parameters are not set  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Vittorio Giovara
							
						 
						
							
							
							
								
							
								8accddeb58 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: adjust error messages  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Marton Balint
							
						 
						
							
							
							
								
							
								ead0dd3cf6 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: factorize plugin loading with static path  
							
							 
							
							 
							
							
								
							
							
							Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Marton Balint
							
						 
						
							
							
							
								
							
								35ead1f281 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: search plugins in lib64 dirs on all architectures  
							
							 
							
							 
							
							
								
							
							
							As Reimar Döffinger pointed out there are non-x86 64bit architectures as well.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Marton Balint
							
						 
						
							
							
							
								
							
								8e41240047 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: load plugins from lib64 folders as well on 64bit builds  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								02a6ee5168 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_frei0r: fix out of array read  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								be7d6710b4 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: use AV_OPT_TYPE_IMAGE_SIZE  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								7ac736afbd 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: use AV_OPT_TYPE_VIDEO_RATE  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								229d5bfdc8 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: make use of AVFILTER_DEFINE_CLASS  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								d371c3c2e2 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: make config_props work properly when called multiple times.  
							
							 
							
							 
							
							
								
							
							
							Do not leak the initialized filter instance. 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								f6b6d6ac42 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: use the name 's' for the pointer to the private context  
							
							 
							
							 
							
							
								
							
							
							This is shorter and consistent across filters. 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								e85ea7d387 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: fix crash when parameters are not set.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								3dedcef8b8 
								
							
								 
							
						 
						
							
							
								
								avfilter: add missing AV_OPT_FLAG_FILTERING_PARAM  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								d69a4177b9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							 
							
							 
							
							
								
							
							
							Conflicts:
	libavfilter/avfilter.c
	libavfilter/vf_drawtext.c
	libavfilter/vf_lut.c
	libavfilter/vf_select.c
	libavfilter/vf_setpts.c
	libavfilter/vsrc_color.c
	libavfilter/vsrc_movie.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								5aa1a668cf 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: switch to an AVOptions-based system.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								7e350379f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to AVFrame.  
							
							 
							
							 
							
							
								
							
							
							Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								bcb8d9eb8f 
								
							
								 
							
						 
						
							
							
								
								Drop unnecessary 'l' length modifier when printfing double values.  
							
							 
							
							 
							
							
								
							
							
							%f denotes a double argument and 'l' does nothing in this case
according to the C spec. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								6325957b28 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: switch to filter_frame, the filter did not support slices  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								565e4993c6 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge start_frame/draw_slice/end_frame  
							
							 
							
							 
							
							
								
							
							
							Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Stefano Sabatini
							
						 
						
							
							
							
								
							
								158763312f 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: in init() check path loop, free resources in a single point  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Stefano Sabatini
							
						 
						
							
							
							
								
							
								6c7ae49330 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: extend load_path() to support arbitrarily long paths  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Stefano Sabatini
							
						 
						
							
							
							
								
							
								334a0d15c6 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: add additional trailing slash in FREI0R_PATH paths  
							
							 
							
							 
							
							
								
							
							
							Allow to accept paths with no ending trailing slash.
Based on a patch by rogerdpack <rogerpack2005@gmail.com>. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Stefano Sabatini
							
						 
						
							
							
							
								
							
								9a2028d4f4 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: correctly handle paths longer than 1023 chars  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   rogerdpack
							
						 
						
							
							
							
								
							
								c1804dc4ce 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: allow for Windows style paths  
							
							 
							
							 
							
							
								
							
							
							Update path handling against the latest Frei0r specification changes.
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Stefano Sabatini
							
						 
						
							
							
							
								
							
								7691860c73 
								
							
								 
							
						 
						
							
							
								
								lavfi/frei0r: update link to spec  
							
							 
							
							 
							
							
								
							
							
							Fri0r project moved from piksel.org to frei0r.dyne.org. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Mans Rullgard
							
						 
						
							
							
							
								
							
								568c70e79e 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert input/ouput list compound literals to named objects  
							
							 
							
							 
							
							
								
							
							
							A number of compilers, for example those from TI and IBM, choke on
these initialisers.  The current style is also quite ugly.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Mans Rullgard
							
						 
						
							
							
							
								
							
								1fce361d70 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace empty input/output lists with null pointers  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Piotr Bandurski
							
						 
						
							
							
							
								
							
								9d87cf51d8 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_frei0: add missing new line to some error messages  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Martin Storsjö
							
						 
						
							
							
							
								
							
								7ebe3962f3 
								
							
								 
							
						 
						
							
							
								
								Add missing includes for code relying on external libraries  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								8f3a3ce730 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all ff_get_video_buffer() calls for errors.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								1dc4205018 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all avfilter_ref_buffer() calls for errors.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								3825b52688 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all ff_start_frame/draw_slice/end_frame calls for errors  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								d4f89906e3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to end_frame().  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								e9b992d035 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to draw_slice().  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Ronald S. Bultje
							
						 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Anton Khirnov
							
						 
						
							
							
							
								
							
								4c9080a7ef 
								
							
								 
							
						 
						
							
							
								
								lavfi: unref AVFilterLink.out_buf in ff_end_frame().  
							
							 
							
							 
							
							
								
							
							
							This reduces code duplication and prevents stale pointers from remaining
on the link. 
							
						 
						13 years ago