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

Michael Niedermayer michaelni
Wed Aug 25 11:18:57 CEST 2010


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100825/b3ddb775/attachment.pgp>



More information about the ffmpeg-devel mailing list