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

S.N. Hemanth Meenakshisundaram smeenaks
Mon Aug 23 09:16:08 CEST 2010


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(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Auto-insert-resample-filter-between-audio-filters-du.patch
Type: text/x-patch
Size: 1913 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100823/7dd0c081/attachment.bin>



More information about the ffmpeg-devel mailing list