3d7d819aad 
								
							
								 
							
						 
						
							
							
								
								avfilter/asrc_aevalsrc: fix return code, 2nd try  
							
							Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd6228e657 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init and init_opaque  
							
							This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								491d261ade 
								
							
								 
							
						 
						
							
							
								
								avfilter/asrc_aevalsrc: check correct variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64ce15b9f4 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed8373e7db 
								
							
								 
							
						 
						
							
							
								
								lavfi: always check return value of ff_get_{audio,video}_buffer()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44f3d21799 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: raise filter_frame() error.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9eed5d7e6 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: try to honor specified duration  
							
							If nb_samples divide sample_rate and if nb_samples allow it, aevalsrc
should generate the exact amount of samples according to duration.
Example:
aevalsrc=0::n=480:s=48000:d=5.21 should generate 250080 samples.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								185d1f3bfc 
								
							
								 
							
						 
						
							
							
								
								lavfi: declare arrays that never change as static const  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d9d444051 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert remaining input/output list compound literals to named objects.  
							
							This is following 568c70e79e 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd7febd33f 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace filter_samples by filter_frame  
							
							Based on patch by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1acd2f6ba7 
								
							
								 
							
						 
						
							
							
								
								Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.h  
							
							Also remove it in once case when it is not needed.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								989c91b504 
								
							
								 
							
						 
						
							
							
								
								asrc_aevalsrc: Fix use of uninitialized pointer inside av_strtok()  
							
							Fixes CID733842
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42d621d131 
								
							
								 
							
						 
						
							
							
								
								lavfi: add priv class to filter definitions and flags to filter internal options  
							
							This allows the iteration callbacks to discover the internal class and
options, and show them when required. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fda968aa8f 
								
							
								 
							
						 
						
							
							
								
								lavfi: decrease logging level of message showing initial parameters  
							
							Reduce log clutter, consistent with 1a49a169eb 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c17808cebd 
								
							
								 
							
						 
						
							
							
								
								lavfi: define macro AVFILTER_DEFINE_CLASS  
							
							The macro can be used to define consistently the internal class of a
filter, save some typing and factorize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54101214d8 
								
							
								 
							
						 
						
							
							
								
								lavfi: use designated initializers for AVClass  
							
							While here:
    - add missing .version and .category,
    - make .class_name consistent across filters,
    - align declarations.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e183b490 
								
							
								 
							
						 
						
							
							
								
								lavfi: update some deprecated functions  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f0f3bd1e0 
								
							
								 
							
						 
						
							
							
								
								lavfi: use av_default_item_name() as filter private context logger  
							
							avfilter_default_filter_name() is supposed to access an AVFilterContext
struct, if used with a private struct it will cause a crash since it will
access fields which are non defined in the private struct. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d6a8a2bdb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_default_filter_name()  
							
							The function is modelled after av_default_item_name(), and will print the
name of the instance filter if defined, otherwise the name of the filter.
This allows to show the instance name in the log, which is useful when
debugging complex filter graphs. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17d4233c9c 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: reindent after the previous commit  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1a8df70a2 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: add option channel_layout  
							
							Allow to explicitly specify the channel layout to select. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cfde7395b1 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: remove limitation on the number of channels  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e556121ec1 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: correct the supported sample format  
							
							The source supports *planar* double, fix regression introduced by me in
4d4098da 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								986d2f6ec0 
								
							
								 
							
						 
						
							
							
								
								lavfi/aevalsrc: fix sample rate negotiation, after the last merge  
							
							Fix crash. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d4098da00 
								
							
								 
							
						 
						
							
							
								
								lavfi: drop planar/packed negotiation support  
							
							The planar/packed switch and the packing_formats list is no longer
required, since the planar/packed information is now stored in the sample
format enum.
This is technically a major API break, possibly it should be not too
painful as we marked the audio filtering API as unstable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4522df52aa 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove audio.h include from avfilter.h.  
							
							avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c26fe8b5a 
								
							
								 
							
						 
						
							
							
								
								aevalsrc: add duration option  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5af7daabc4 
								
							
								 
							
						 
						
							
							
								
								Mark AVFilterPad[] compound literals as const.  
							
							GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d78473334e 
								
							
								 
							
						 
						
							
							
								
								Add const to static arrays where it was forgotten.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b72067406 
								
							
								 
							
						 
						
							
							
								
								asrc_aevalsrc: apply misc cleanup in the options array  
							
							Prefer AV_OPT_* over FF_OPT, vertically align fields. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f20eada80 
								
							
								 
							
						 
						
							
							
								
								asrc_aevalsrc: prefer av_strtok() over strtok_r()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36c06b0913 
								
							
								 
							
						 
						
							
							
								
								lavfi: add audio eval signal source  
							
							
								
							
							
						 
						14 years ago