• Anton Khirnov's avatar
    ffmpeg: add support for audio filters. · fc49f22c
    Anton Khirnov authored
    Some of the FATE changes are due to off-by-one different rounding being used
    (lrintf vs av_rescale_q).
    Some fate changes are due to 1 audio frame less being encoded (the new variant seems
    matching what qatar does and according to ffprobe its closer to the requested duration)
    the mapchan feature sadly is lost in this commit because it depends on resampling
    being done in ffmpeg.c which is now moved completely into the av filter layer
    -async is broken after this commit, this will be fixed in subsequent commits
    the new filter reconfiguration system is flawed and will drop a frame on each
    parameter change which is why the nelly moser checksums need updating.
    
    Conflicts:
    
    	ffmpeg.c
    	tests/ref/fate/smjpeg
    fc49f22c