[FFmpeg-devel] [PATCH] Auto insert resample filter between audio filters during sample format negotiation

Stefano Sabatini stefano.sabatini-lala
Wed Jan 12 22:34:03 CET 2011


On date Wednesday 2010-08-25 11:18:57 +0200, Michael Niedermayer encoded:
> On Mon, Aug 23, 2010 at 12:16:08AM -0700, S.N. Hemanth Meenakshisundaram wrote:
> > Auto insert af_resample between audio filters with incompatible sample
> > formats. This patch works on top of the latest af_resample patch sent
> > earlier.
> > 
> > Passes make test and auto insertion can be tested by modifying af_anull
> > to accept only a specified format, say SAMPLE_FMT_FLT. Then doing
> > 
> > ./ffplay -af anull in.mp3
> > 
> > ---
> >  libavfilter/avfiltergraph.c |   16 ++++++++++++----
> >  1 files changed, 12 insertions(+), 4 deletions(-)
> > 
> > 
> > 
> 
> >  avfiltergraph.c |   16 ++++++++++++----
> >  1 file changed, 12 insertions(+), 4 deletions(-)
> > f503f267ccaf4bbf2cfa993d5c0476184f5ad7b4  0001-Auto-insert-resample-filter-between-audio-filters-du.patch
> 
> should be ok

Updated against latest SVN, it depends on the resample filter.
-- 
FFmpeg = Friendly Foolish Magic Ponderous Evangelical Goblin



More information about the ffmpeg-devel mailing list